Organizations
As the platform operator, you manage all orgs with your admin API key:| Endpoint | Auth | Description |
|---|---|---|
GET /admin/orgs | admin | List all orgs |
POST /admin/orgs/{id}/approve | admin | Approve a pending org |
POST /admin/orgs/{id}/suspend | admin | Suspend an org |
GET /admin/orgs/{id}/analytics | admin | Per-org analytics |
GET /admin/orgs/{id}/usage | admin | Usage rollup data |
GET /admin/orgs/{id}/usage/export | admin | Export usage as CSV |
PUT /admin/orgs/{id}/subscription | admin | Assign a plan to an org |
Reviewing pending signups
Whensaas.signup_approval_required: true, new orgs require your approval before they can use the platform:
Plans
Plans define quota tiers. Each plan specifies limits that are enforced on every request. When an org exceeds its plan limits, the gateway returns 402 Payment Required.| Endpoint | Auth | Description |
|---|---|---|
GET /admin/plans | admin | List plans |
POST /admin/plans | admin | Create a plan |
PUT /admin/plans/{id} | admin | Update a plan |
DELETE /admin/plans/{id} | admin | Delete a plan |
Billing webhooks
Receive billing events in your own systems by configuring a webhook:X-ManyLayers-Signature header:
Org billing view (for org admins)
Org admins can view their own plan and current-month usage:org_admin role.
Usage export
Export per-org usage data as CSV for reporting or billing integrations:Next steps
- Configure SSO & SCIM for automated user provisioning in each org
- Set up teams and RBAC within each org
- Monitor usage with metrics