Skip to content

Delete a grant

Request

Deletes a grant specified by the grantId. This is for a user that is specified by the userId

Security
ZephrHmacHttp
Path
userIdstringrequired

Unique User identifier

Example:3f589a2d-86ad-4b70-a5df-68dca75a3a21
grantIdstringrequired

Unique Grant identifier

Example:5fag4a2d-86cd-4bb0-a5df-68dca75a3a21
cURL
curl -i -X DELETE \
  https://demo.api.zephr.com/v3/users/3f589a2d-86ad-4b70-a5df-68dca75a3a21/grants/5fag4a2d-86cd-4bb0-a5df-68dca75a3a21 \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK - The grant was found and successfully deleted

Headers
any