Skip to main content

Overview

useUpdateWorkspace returns a callable that edits a workspace’s own name and/or metadata. The actor is the signed-in user. Authorization: capability-gated. Requires the edit-workspace capability (owners hold it implicitly).
This does not flip inheritsFromParent — that is a separate owner-only action, useUpdateWorkspaceInheritFlag.

Usage Example

Parameters

string
required
The workspace UUID.
string
New display name. 1–100 characters.
Record<string, any>
New opaque developer metadata.

Returns

Returns the updated Workspace object.

Error codes