Delete an EMPTY space
Refused (409) while any pages exist — including trashed ones — so content is never cascade-deleted through this endpoint. Personal spaces can't be deleted (400).
View as MarkdownAuthorization
bearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X DELETE "https://example.com/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "message": "string"}Rename a space and/or change its audience
Any member with access to the space may rename it (`name` alone). Sending `kind` (and `teamId` for a team space) re-targets the space's audience — which subject it belongs to, and therefore who can see every page inside it. Those rules are the platform's, enforced by `authkit.AuthorizeRetarget` (docs/platform/subjects-and-containers.md): - the space's creator may re-target their own space; anyone else needs `org.data.audience_manage` (owner/admin) — 403 otherwise - a personal space is never reclassified (400) — move its pages out with `updatePage.workspaceId` instead - only the creator may make a space `personal` (403 otherwise), so a space can't vanish into another person's private area - a `team` target must be a team the caller belongs to (403 otherwise) Re-submitting the current audience is a no-op and needs no permission. Audience changes are written to the platform audit log as `notes.space.audience_changed`.
List pages in a workspace
Next Page