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.
Was this page helpful?