Default decision pool cannot be archived

Moses SkodaEngineer1 min read

The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/decision-pool-system-immutable. See Errors and status codes for the shape every error shares.

Decision pool <id> is one of the organization's default pools and cannot be archived. It can still be renamed.

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
idstring

Example#

json
{
  "detail": "Decision pool <id> is one of the organization's default pools and cannot be archived. It can still be renamed.",
  "id": "<id>",
  "type": "https://lingo.dev/docs/api/errors/decision-pool-system-immutable",
  "status": 409,
  "title": "Default decision pool cannot be archived"
}

Returned by#

  • POST /v2/organizations/{orgId}/decision-pools/{id}/archive