Skip to main content
POST
Turn a turned-off account back on

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

id
string<uuid>
required

Id of the account to turn back on.

Example:

"5b3c8f2e-1d4a-4c6b-9e7f-0a1b2c3d4e5f"

Body

application/json

Why the account is turned back on.

reason
string
required

Why the account is turned back on; kept in the audit. Required, 1 to 200 characters; leading and trailing spaces are dropped and a blank reason is refused.

Required string length: 1 - 200
Example:

"Google account was suspended by mistake and is active again"

Response

OK

enabled
boolean

True: the account is on.

Example:

true

userId
string

Id of the account.

Example:

"5b3c8f2e-1d4a-4c6b-9e7f-0a1b2c3d4e5f"

userName
string

User name of the account.

Example:

"bob"