PUT
/
accounts
/
{id}
/
deactivate
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
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

Account identifier

Response

200
application/json
Account resource updated
id
string
Example:

"01F9Z3ZJXZQZJZJZJZJZJZJZJZ"

user
string
Example:

"https://example.com/"

role
enum<string>
default:administrator
Available options:
administrator,
account,
read-only
Example:

"administrator"

createdAt
string
deactivated
boolean