Account - Change Status

Change an Account's Status

POST /accounts/{email}/statusChange endpoint disables or re-enables an account's access to the Console, depending on the status sent in the request body.

post/accounts/{email}/statusChange

Request

  • Base URL: https://sandbox.api.flagright.com/management
  • URL: https://sandbox.api.flagright.com/management/accounts/{email}/statusChange
  • Auth: API key in header x-api-key

Path parameters

emailstring required

Request body

status'ACTIVE' | 'DEACTIVATED' required

The desired account status. DEACTIVATED permanently revokes the account's access to the Console and terminates any active sessions immediately. ACTIVE re-enables access for a previously deactivated account.

Response

OK

namestring required
emailstring email required
rolestring required

The account's role. This is either a built-in role name or a custom role name defined in your tenant.

status'INVITED' | 'ACTIVE' | 'DEACTIVATED' required
createdTimestampnumber double required
lastLoginTimestampnumber double nullable

Changes

No recorded changes to this operation across all 1 revision of this API.