Admin-API - Problem creating request for user delete - HMAC


I have problems to sign a request with HMAC for the user delete endpoint in the admin api.
The endpoint to create users is working well.

The difference seems to be the parameters. While I have parameters in the create request I have no params in the user delete request which seems to result in a wrong signing, because I’m getting error 40103 “Invalid signature in request credentials”

The request to sign is:

Mon, 06 Sep 2021 14:53:46 +0200

Is this correct?

Any help is appreciated.

Best regards


Ok, found the problem.

For all the guys being frustrated about the same issue:

You have to insert an extra empty line with a Line Feed for having no params.

The right request is:

Mon, 06 Sep 2021 14:53:46 +0200
<---- LineFeed

1 Like