Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Body

application/json
name
string
required

The workspace name.

Maximum string length: 100

Response

The created workspace.

id
string
required
name
string
required
role
enum<string>
required
Available options:
admin,
analyst,
viewer
current
boolean

True for the workspace of the token that made the request.