Create Space

View as Markdown

Create a space and return the simplified space resource. The name and environment are optional; omitted values use server defaults.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Request

This endpoint expects an object.
environmentobjectOptional
namestringOptional1-200 characters
subaccountIdstring or nullOptional>=1 character

Response

Created
createdAtdatetime
idstringformat: "uuid"
namestring>=1 character
updatedAtdatetime
subaccountIdstring>=1 character

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error