Pular para o conteúdo principal
GET
/
workspaces
/
{workspaceId}
/
organizations
/
{organizationId}
/
limits
Obter limites da organização
curl --request GET \
  --url https://api.altostrat.io/workspaces/{workspaceId}/organizations/{organizationId}/limits \
  --header 'Authorization: Bearer <token>'
{
  "organization_id": "org_aBcDeFg123456789",
  "organization_name": "Departamento de Engenharia",
  "limits": [
    {
      "type": "users",
      "used": 8,
      "direct": 2,
      "free": 42,
      "org_limit": 50,
      "total": 50
    }
  ],
  "context": {
    "type": "parent",
    "name": "ACME Corporation"
  }
}

Authorizations

Authorization
string
header
required

Insira seu JWT no formato: Bearer {token}

Path Parameters

workspaceId
string
required

O ID do workspace.

Example:

"ws_a1b2c3d4e5f6g7h8"

organizationId
string
required

O ID da organização.

Example:

"org_aBcDeFg123456789"

Response

Um resumo detalhado de limites e uso.

organization_id
string
Example:

"org_aBcDeFg123456789"

organization_name
string
Example:

"Departamento de Engenharia"

limits
object[]
context
object | null