cURL
curl -X PUT \ /accounts/{id}/deactivate \ --header "Authorization: Bearer <token>"
{ "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ", "user": "https://example.com/", "role": "administrator", "createdAt": "2023-11-07T05:31:56Z", "deactivated": true }
Deactivates an account. The account will not have any access to the tenant anymore. You cannot deactivate your own account.
account:deactivate
Value for the Authorization header parameter.
Account identifier
Account resource updated
"01F9Z3ZJXZQZJZJZJZJZJZJZJZ"
"https://example.com/"
administrator
account
read-only
"administrator"
Was this page helpful?