Skip to content

Create a workspace-org-unit

POST
/workspace-org-units
object
data
object
workspace_tenant
required
One of:

DocumentId reference to api::workspace-tenant.workspace-tenant

string
ou_id
string
name
required
string
path
required
string
parent_path
string
description
string
member_count
integer
sub_ou_count
integer
last_synced_at
string format: date-time
organisation
One of:

DocumentId reference to api::organisation.organisation

string

Created

object
data
object
workspace_tenant
required
One of:

DocumentId reference to api::workspace-tenant.workspace-tenant

string
ou_id
string
name
required
string
path
required
string
parent_path
string
description
string
member_count
integer
sub_ou_count
integer
last_synced_at
string format: date-time
organisation
One of:

DocumentId reference to api::organisation.organisation

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)