Rename a space
Rename a Space, set its write_mode or its brand. The name change keeps the stored content in place. write_mode decides how agents write records and Markdown documents: strict needs the revision or hash last read for every change, merge lets additive and field-level changes through without one. A record type can override it. brand replaces the look of the Space's public app pages as a whole; {} restores the neutral Adlass look.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: space_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/spaces/123e4567-e89b-42d3-a456-426614174000" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "123e4567-e89b-42d3-a456-426614174000", "clerk_user_id": "user_2abcDEF", "name": "Customer documents", "storage_prefix": "tenants/acme/customer-documents/", "write_mode": "strict", "brand": { "primary": "#000000", "radius": "none", "mode": "system", "logo_document_id": "123e4567-e89b-42d3-a456-426614174000" }, "created_at": "2026-09-04T12:00:00Z", "role": "ADMIN", "is_owner": false, "can_read": false, "can_download": false, "can_upload": false, "can_delete": false, "can_rename": false, "document_count": 0, "member_count": 0, "skill_count": 0, "owner": { "id": "123e4567-e89b-42d3-a456-426614174000", "email": "ada@example.com", "name": "Customer documents", "image_url": "example" }, "via_org_admin": false, "tenant_id": "123e4567-e89b-42d3-a456-426614174000", "tenant_name": "example", "tenant_kind": "PERSONAL"}