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