Skip to content

Create Account For Org

POST
/v1/org/{org_identifier}/account-org

Create an Account if it does not exists and assign Account to Organization. If an existing account is found (matched by email) then the existing first, last, and nicknames will be used and values provided will be ignored. To update first, last, and nickname fields use the Account update API.This API requires accountOrg:config:edit permissions for the Organization.

Authorizations

Parameters

Path Parameters

org_identifier
required
Any of:
string format: uuid

Organization ID or short name

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
org_id
required

Organization that this user belongs to

string format: uuid
account_email

Email address for this account

string
first_name

Name for this account

string
last_name

Last name for this account

string
nickname

Nickname for this account

string
password

Password for this account

string
description

Description for this account

string
client_secret

Client secret for this account

string

Responses

200

Successful Response

Any of:
object
account_id
required

Account id

string format: uuid
org_id
required

Organization that this user belongs to

string format: uuid
description
required

Description of the M2M account

string
client_secret
required

Client secret for this account

string

400

Bad Request

409

Conflict

422

Validation Error

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