Create a space
Create a space. Name, region, and environment are optional; omitted values use server defaults.
Authentication
AuthorizationBearer
Use Bearer <api-key>.
Headers
BCTRL-Subaccount-Id
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.
Request
This endpoint expects an object.
environment
name
region
Response
Created
createdAt
RFC 3339 timestamp with a UTC offset.
environment
id
Unique space identifier generated by BCTRL.
isDefault
name
region
updatedAt
RFC 3339 timestamp with a UTC offset.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error

