Decision pool archived

Moses SkodaEngineer1 min read

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

Decision pool <id> is archived and cannot be changed. Create a new pool instead.

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 archived and cannot be changed. Create a new pool instead.",
  "id": "<id>",
  "type": "https://lingo.dev/docs/api/errors/decision-pool-archived",
  "status": 409,
  "title": "Decision pool archived"
}

Returned by#

  • PATCH /v2/engines/{id}
  • PATCH /v2/organizations/{orgId}/decision-pools/{id}
  • POST /v2/organizations/{orgId}/decision-pools/{id}/archive
  • POST /v2/organizations/{orgId}/engines
  • POST /v2/organizations/{orgId}/provisioning/jobs