Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

Archive an impact limit

The limit stops applying to new effects. Its existing reservations still settle and release.

DELETE/api/v2/impact-limits/{id}
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Path parameters
idstringrequired

Public limit identifier (lim_...).

min length 1 · max length 100
Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Responses
200

Impact limit returned.

successbooleanrequired
Allowed:true
dataImpactLimitrequired
Show properties
idstringrequired
namestringrequired
dimensionstringrequired

money, resource_mutations, or a workspace-declared unit such as emails.

matches ^[a-z][a-z0-9_]{0,31}$
currencystring | nullrequired
unitstringrequired

What the amounts count. The currency for money, the dimension name for every other dimension.

scopeobjectrequired
Show properties
environmentIdstring<uuid>required
actionNamestring | nullrequired
resourcePrefixstring | nullrequired
periodstringrequired
Allowed:daymonthtotal
limitintegerrequired
min 0
currentPeriodstringrequired
consumedintegerrequired
min 0
reservedintegerrequired
min 0
unknownExposureintegerrequired
min 0
availableintegerrequired
min 0
archivedbooleanrequired
createdAtstring<date-time>required
updatedAtstring<date-time>required
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
404

Not Found - Resource does not exist

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.anlyon.com/api/v2/impact-limits/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": {
    "id": "lim_01JABCDEF",
    "name": "string",
    "dimension": "money",
    "currency": "string",
    "unit": "usd",
    "scope": {
      "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563",
      "actionName": "string",
      "resourcePrefix": "string"
    },
    "period": "day",
    "limit": 0,
    "currentPeriod": "month:2026-09",
    "consumed": 0,
    "reserved": 0,
    "unknownExposure": 0,
    "available": 0,
    "archived": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}