Users

Get organization members

get

Get a list of members for an organization.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

Query parameters
limitinteger · min: 1 · max: 100Optional

Limits the number of results to return

Default: 10
pageTokenstringOptional

Pagination token that keeps of track of the current position in the list

reversebooleanOptional

Order in which to retrieve the results

Default: false
previewbooleanOptional
searchTermstringOptional

Search term used to filter organizations by name

userIdsstring · uuid[]Optional

List of user IDs.

emailstring · emailOptional

If set, returns the user that is registered with this email address. Only does exact matching.

Responses
200

OK

application/json
get
/organizations/{organizationId}/users

Create organization member

post

Add a user to an organization. This can either be an existing user, or a new user that is invited to the platform.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

Body
or
Responses
post
/organizations/{organizationId}/users

Get organization user

get

Get a single organization membership record.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

userIdstringRequired

The user ID

Query parameters
previewbooleanOptional
Responses
200

OK

application/json
get
/organizations/{organizationId}/users/{userId}

Delete organization user

delete

Remove a user from the organization

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

userIdstringRequired

The user ID

Query parameters
previewbooleanOptional
Responses
delete
/organizations/{organizationId}/users/{userId}

No content

Update organization user

patch

Update the properties of the organization membership for the user.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

userIdstringRequired

The user ID

Query parameters
previewbooleanOptional
Body
roleIdsstring · uuid[] | nullableOptionalDeprecated

Roles to assign to the user (legacy, use attributes instead)

roleTreatmentstring | nullableOptional

Used to allow removing the legacy roles for the user

Responses
200

OK

application/json
patch
/organizations/{organizationId}/users/{userId}

Last updated

Was this helpful?