Spaces

List Spaces

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · int32OptionalDefault: 100
namestring · nullableOptional

Filter spaces by name. Supports wildcard () for partial matches - use * for contains, prefix for starts with, *suffix for ends with

page_tokenstring · nullableOptional
Responses
chevron-right
200

OK

application/json
get
/api/admin/v1/spaces
200

OK

Create Space

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired

Space name (3-64 characters, unique per account)

space_scope_referencesstring[]Required

Space scope IDs or names that define the space's inventory scope. Use the Space Scopes API to manage scopes.

Responses
chevron-right
200

OK

application/json
idstringRequired

Unique identifier of the space

namestringRequired

Display name of the space

created_datestring · date-timeRequired

ISO 8601 formatted date-time

updated_datestring · date-timeRequired

ISO 8601 formatted date-time

post
/api/admin/v1/spaces
200

OK

Get Space

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Unique identifier or display name of the space

Responses
chevron-right
200

OK

application/json
idstringRequired

Unique identifier of the space

namestringRequired

Display name of the space

created_datestring · date-timeRequired

ISO 8601 formatted date-time

updated_datestring · date-timeRequired

ISO 8601 formatted date-time

get
/api/admin/v1/spaces/{id}
200

OK

Update Space

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Unique identifier or display name of the space

Body
namestringRequired

Space name (3-64 characters, unique per account)

space_scope_referencesstring[]Required

Space scope IDs or names that define the space's inventory scope. Use the Space Scopes API to manage scopes.

Responses
chevron-right
200

OK

application/json
idstringRequired

Unique identifier of the space

namestringRequired

Display name of the space

created_datestring · date-timeRequired

ISO 8601 formatted date-time

updated_datestring · date-timeRequired

ISO 8601 formatted date-time

put
/api/admin/v1/spaces/{id}
200

OK

Delete Space

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Unique identifier or display name of the space

Responses
delete
/api/admin/v1/spaces/{id}
204

No Content

No content

List Space Members

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Unique identifier or display name of the space

Query parameters
limitinteger · int32OptionalDefault: 100
page_tokenstring · nullableOptional
Responses
chevron-right
200

OK

application/json
get
/api/admin/v1/spaces/{id}/members
200

OK

Replace Space Members

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Unique identifier or display name of the space

Body
Responses
chevron-right
200

OK

application/json
put
/api/admin/v1/spaces/{id}/members
200

OK

Add or Update Space Member

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Unique identifier or display name of the space

identity_referencestringRequired

Reference to the identity. For users: user ID or email. For groups: group ID or name.

Body
identity_typestringRequired

Type of identity: user or group

space_rolesstring[]Required

Roles to assign: SpaceOwner (full control) or SpaceManager (manage resources)

Responses
chevron-right
200

OK

application/json
identity_idstringRequired

User ID or Group ID

identity_typestringRequired

Identity type: user or group

space_rolesstring[]Required

Roles within the space: SpaceOwner, SpaceManager

namestringRequired

Display name of the user or group

emailstring · nullableOptional

Email address of the member (only applicable for user members)

put
/api/admin/v1/spaces/{id}/members/{identity_reference}
200

OK

Remove Space Member

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Unique identifier or display name of the space

identity_referencestringRequired

Reference to the identity. For users: user ID or email. For groups: group ID or name.

Responses
delete
/api/admin/v1/spaces/{id}/members/{identity_reference}
204

No Content

No content

Last updated

Was this helpful?