User Management

Update the state of an account to either enabled or disabled. For deletion use the DELETE route

put/accounts/{accountname}/state

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /accounts/{accountname}/state
  • Auth: none declared

Path parameters

accountnamestring required

Request body

state'enabled' | 'disabled'

The status of the account

Example request

{
  "state": "enabled"
}

Response

Updated state of the account

state'enabled' | 'disabled'

The status of the account

Example response

{
  "state": "enabled"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.