API ReferenceOrganizations
Read an organization's subscription
Authorization
bearerAuth AuthorizationBearer <token>
A RemoteHost API key (rh_sk_...) or a user session token.
In: header
Path Parameters
orgId*string
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/orgs/string/subscription"{ "subscription": { "id": "string", "org_id": "string", "stripe_customer_id": "string", "stripe_subscription_id": "string", "plan": "individual", "status": "string", "trial_ends_at": "string", "current_period_starts_at": "string", "current_period_ends_at": "string", "seats": 0, "premium_seats": 0, "sandbox_machine_hour_limit": 0, "sandbox_overage_enabled": true, "created_at": "string", "updated_at": "string" }}Release an old slug DELETE
Frees one of the organization's old slugs: links to it stop reaching the organization, and any organization may then take it. Nothing else frees an old slug. Needs `org.update` (owners and admins).
List an organization's workspaces GET
With `workspaces.read` (owner, admin, security_admin, billing_admin), every workspace in the org. Otherwise (a member), only the workspaces holding a project the caller holds a project role on; never a 403 for a member. Off until the workspace API is enabled for this deployment: until then it answers 404 to everyone. API keys cannot call it yet.