Revoke a consent
DELETE
Revokes the specified consent, invalidating any previously authorized scopes. If applicable, the application must obtain new consent before acting on behalf of the user again.
Secure+
Access to grant and token management endpoints requires an active Secure+ subscription.
API-Keyheader
X-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
user_id*string
The unique identifier of the user.
consent_id*string
The unique identifier of the consent grant.
Response
204
The user's consent was revoked successfully
Errors
401Unauthorized
403Forbidden
curl -X DELETE "https://your-domain.us.monocloud.com/api/users/WUgDGqaqzqkRmsgd3PFAT/grants/consents/HxI56Ol4FjIyUXZBJ6J24" \ -H "X-API-KEY: <token>"Empty