Owner required

What the OwnerRequired error (403 Forbidden) means, the fields it carries, and the endpoints that return it.

The API answers 403 Forbidden with this problem. Its type is https://lingo.dev/docs/api/errors/owner-required. See Errors and status codes for the shape every error shares.

Only an Owner of organization <organizationId> can give someone the Owner role. Ask an Owner of this organization to do it.

Fields #

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
organizationIdstring
action"grantOwner" | "revokeOwner" | "manageSso" | "createScimKey" | "changeScimKeyRole" | "revokeScimKey"

Example #

json
{
  "detail": "Only an Owner of organization <organizationId> can give someone the Owner role. Ask an Owner of this organization to do it.",
  "organizationId": "<organizationId>",
  "action": "grantOwner",
  "type": "https://lingo.dev/docs/api/errors/owner-required",
  "status": 403,
  "title": "Owner required"
}

Returned by #

  • DELETE /v2/service-api-keys/{id}
  • PATCH /v2/organizations/{orgId}/members/{userId}
  • PATCH /v2/organizations/{orgId}/sso
  • PATCH /v2/service-api-keys/{id}
  • POST /v2/organizations/{orgId}/service-api-keys/scim
  • POST /v2/organizations/{orgId}/sso/disconnect
  • PUT /v2/organizations/{orgId}/sso