Skip to content

Create Account

POST
/v2/account

Create an account in an organization.Requires accountOrg:config:edit or account:config:edit permissions and to share an org with the account

Authorizations

Parameters

Query Parameters

m2m

Create a Machine-To-Machine account for the organization.

boolean

Create a Machine-To-Machine account for the organization.

Request Body required

object
account_email

Email address for this account. Ignored if creating an M2M account.

string format: email
description

Description for this account

string
name

Name for this account. Ignored if creating an M2M account.

string
nickname

Nickname for this account. Ignored if creating an M2M account.

string
org_id
required

Organization ID for this account

string format: uuid
client_secret

Client secret for this M2M account. One is generated if this is left blank.

string
password

Password for this account. Ignored if creating an M2M account.

string

Responses

200

Successful Response

object
description

Description for this account

string
org_id

Organization ID for this account

string format: uuid
account_id
required

Account id

string format: uuid
account_email

Email address for this account

string format: email
client_secret

Client secret for this account

string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string