Organization
Namespace

Create namespace in organization

Create a new namespace in the organization.

post/v1/organizations/{organizationRef}/namespaces

Request body

namestring required

Name of the namespace.

slugstring required

Organization-scoped canonical kebab-case slug. Reserved value is new. Must not parse as an xid.

descriptionstring nullable

Description of the namespace.

Example request

{
  "name": "Engineering",
  "slug": "platform",
  "description": "Engineering team namespace"
}

Response

Example response

idstring required

ID of the newly created resource.

Changes