cURL
curl --request PUT \ --url https://{tenant}/api/users/{userId}/actions/revoke \ --header 'Authorization: Bearer <token>'
{ "Message": "User revoked", "Meta": null, "Status": "OK" }
This will set the use account as inactive. It will also disable API Access and log out the user from all dashboards.
The Tyk Dashboard API Access Credentials
User ID of the user whose access you want to revoke.
OK
Was this page helpful?