tenants
Get Self-Serve Workspace Allowance
Returns the caller's workspace plan (projected from enforcer-billing), the effective number of workspaces they may own (workspace_slots — the instance default when billing has not projected a plan for them), how many live workspaces they own (owned), and whether the limit is enforced on this instance (enforced). Read-only. Only workspaces created through selfServeTenant count as owned.
get/tenants/self-serve/allowance
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/tenants/self-serve/allowance
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Response
OK
Example response
{
"data": {
"owned": 1,
"plan_id": "developer",
"workspace_slots": 3
},
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.