Requires workspaces-write
.
Create a new workspace and automatically add the current user as an admin of that workspace.
Requires the workspaces-write
ability.
Field | Type | Required | Description |
---|---|---|---|
name | string | Yes | Display name of the workspace. |
emoji | string | No | Optional emoji/icon to represent it. |
Example:
200 OK
– Returns the newly created workspace information.
403 Forbidden
– Token lacks workspaces-write
or user not allowed.
Personal Access Token
Created
The response is of type object
.