Rollen nicht im Tarif enthalten

Moses SkodaEntwickler1 Min. Lesezeit

Bei diesem Problem antwortet die API mit 402 Payment Required. Der Wert für type ist https://lingo.dev/docs/api/errors/rbac-disabled. Das gemeinsame Format aller Fehler findest du unter Fehler und Statuscodes.

Rollen lassen sich erst verwalten, wenn die Organisation <organizationId> über die Berechtigung zur rollenbasierten Zugriffskontrolle verfügt. Derzeit haben alle Mitglieder dieselben Zugriffsrechte. Wechsle zu einem höheren Tarif, um Rollen zu verwalten.

Felder#

Neben den Standardfeldern type, status, title und detail enthält der Antwortinhalt die folgenden Felder. Aus ihnen wird der Text in detail erstellt, sodass ein Client stattdessen einen eigenen Text anzeigen kann.

FeldTyp
organizationIdstring

Beispiel#

json
{
  "detail": "Roles cannot be managed until organization <organizationId> holds the role-based access control entitlement. Every member currently carries the same access. Upgrade the plan to manage roles.",
  "organizationId": "<organizationId>",
  "type": "https://lingo.dev/docs/api/errors/rbac-disabled",
  "status": 402,
  "title": "Roles not in plan"
}

Zurückgegeben von#

  • DELETE /v2/roles/{id}
  • GET /v2/organizations/{orgId}/audit-events
  • GET /v2/organizations/{orgId}/audit-events/{eventId}
  • PATCH /v2/invites/{id}
  • PATCH /v2/organizations/{orgId}/members/{userId}
  • PATCH /v2/roles/{id}
  • PATCH /v2/service-api-keys/{id}
  • POST /v2/organizations/{orgId}/invites
  • POST /v2/organizations/{orgId}/roles
  • POST /v2/organizations/{orgId}/service-api-keys
  • POST /v2/organizations/{orgId}/service-api-keys/scim
  • PUT /v2/service-api-keys/{id}/content-scope
  • PUT /v2/service-api-keys/{id}/engines