Create a space type

View as Markdown
Creates a space type at the organization root. Authorization: organization administrators only — other callers get 403. Body: `title` (1–120 chars) and `identifier`, a lowercase slug (starts with a letter, then letters/digits/hyphens, no trailing hyphen, 2–40 chars). The identifier is the permanent key and cannot be reused — a duplicate returns 409 `identifier_taken`.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
titlestringRequired1-120 characters
identifierstringRequiredformat: "^[a-z][a-z0-9-]{0,38}[a-z0-9]$"

Response

The created space type.
spaceTypeobject

Errors

409
Conflict Error