Admin

Read one person's workspace creation limit

Changed on

Returns the normalized email, the limit that applies and which rule set it, and how many workspaces the person currently has across alias accounts.

get/v1/admin/users/{userId}/workspace-limit

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

userId, string typeid required

Den TypeID with 'usr_' prefix and a 26-character base32 suffix.

Response

Limit status.

WorkspaceCreateLimitStatus required
userId, string required
identity, string nullable required

Normalized email the count and rules use.

enforcementEnabled, boolean required
limit, integer nullable required

Effective limit. Null means no limit.

rule, 'email' | 'domain' nullable required

Which rule set the limit, or null for the deployment default.

created, integer required

Workspaces this person founded that still exist, across alias accounts.

Changes