Skip to main content
POST
Create a user

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Body

application/scim+json

RFC 7643 User. OneCLI maps userName and emails[0] to the member's email, displayName (or name) to the display name, and active to the membership status (false = suspended). Group membership is managed through /Groups.

schemas
string[]
Example:
id
string
userName
string
displayName
string
name
object

The name components as supplied by the identity provider.

emails
object[]
active
boolean
meta
object

Response

The User

RFC 7643 User. OneCLI maps userName and emails[0] to the member's email, displayName (or name) to the display name, and active to the membership status (false = suspended). Group membership is managed through /Groups.

schemas
string[]
Example:
id
string
userName
string
displayName
string
name
object

The name components as supplied by the identity provider.

emails
object[]
active
boolean
meta
object