Account - Create

Create an Account

POST /accounts endpoint is used to invite someone to your team by email. They will receive an email with a link, and once they click it and set a password, their account becomes ACTIVE.

post/accounts

Request

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

Request body

namestring required

Display name for the new account.

emailstring email required

Email address to invite. The invite link is sent to this address. Must be unique within your tenant.

rolestring required

A built-in role name or a custom role name defined in your tenant.

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.