Skip to content

Delete an account grant

Request

Deletes an account grant specified by the grantId. This is for a user that is specified by the accountId.

Security
ZephrHmacHttp
Path
accountIdstringrequired

Unique Account 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/v4/accounts/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
Bodyapplication/json
Response
"Account grant revoked"