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