Update workspace name or icon. Requires workspaces-write
.
Rename a workspace or change its icon.
Requires the workspaces-write
ability. The authenticated user must be an admin of the workspace.
Parameter | Type | Description |
---|---|---|
workspaceId | number | Numeric identifier of the workspace. |
Field | Type | Required | Description |
---|---|---|---|
name | string | Yes | New name of the workspace. |
emoji | string | No | New emoji/icon (leave blank to clear). |
Example:
200 OK
– Returns a confirmation plus the updated workspace object.
403 Forbidden
– Token lacks workspaces-write
or user lacks permission.
Personal Access Token
Updated
The response is of type object
.