Space Endpoints
Complete API reference for space management endpoints.
Space endpoints are part of the Admin API tier. All endpoints require API key authentication and are under /api/v1/spaces.
/spacesList all spaces the authenticated user has access to.
Returns cursor-paginated results.
/spaces/:idGet space details including access control and security settings.
/spacesCreate a new space.
Parameters:
| Field | Type | Required | Validation |
|---|---|---|---|
name | string | Yes | Unique across all spaces |
description | string | No |
A 6-character handle is auto-generated. A default "starter" upload config is created.
/spaces/:idUpdate a space.
Parameters:
| Field | Type | Required | Validation |
|---|---|---|---|
name | string | Yes | Unique (excluding self) |
description | string | No |
/spacesDelete a space. Requires the space ID as a query parameter.
/spaces/:id/access-controlUpdate space-level access control defaults.
Parameters:
| Field | Type | Required |
|---|---|---|
access_control | object | No |
access_control.requires_auth | boolean | No |
access_control.public_read | boolean | No |
/spaces/:id/access-controlReset space access control to defaults.
/spaces/:id/securityUpdate space security settings (e.g., watermarking).
/spaces/:id/securityReset space security to defaults.
/spaces/:id/api-keysGenerate a new API key for the space.
/spaces/:id/api-keysList all API keys for a space.
/spaces/:id/api-keys/:keyIdRevoke an API key.