Skip to main content
POST
Provision Workspace License

Path Parameters

workspace_id
string
required

Body

application/json
license_key
string
required

Keygen license key to bind to this workspace.

Minimum string length: 8
plan_slug
string | null

Optional plan to attach (sets numeric limits). Required when the workspace has no subscription yet.

Response

Successful Response

workspace_id
string
required
is_valid
boolean
required
status
string
required
keygen_license_id
string | null
masked_key
string | null
license_type
string | null
plan_tier
string
default:trial
expires_at
string<date-time> | null