Delete a spend limit
Changed onRemoves the limit for the product and period. For inference, which has no default limit, the product becomes unlimited for the period and the period's block is lifted (evaluation.released). The response carries limit: null and the effective_limit_usd that applies after the removal. Returns 404 when no limit is set. With the credential_id query parameter, the request removes that API key's limit for the period and lifts the key's block in that period at once. A block under the key's limit in the other period stays (evaluation.still_blocked_other_period). Removing the total limit leaves the API key limits in place.
Request
- Base URLhttps://api.telnyx.com/v2
- URLhttps://api.telnyx.com/v2/spend_limits/{product}
- AuthHTTP bearer
Path parameters
Product the limit applies to, as returned in product by the list operation.
Query parameters
daily is the current UTC day; monthly is the current UTC calendar month.
Limit period. Defaults to daily; send it explicitly.
Identifier of one API key as recorded on usage, never the key's secret, percent-encoded: the request is then about that key's limit. Absent means the total limit; present but blank is refused.
Why the limit is removed, kept for audit. At most 500 characters.
Response
The limit was deleted. evaluation says whether a block was lifted.
Example response
{
"data": {
"record_type": "spend_limit",
"product": "inference",
"product_name": "Inference",
"period": "daily",
"period_start": "2026-09-24",
"period_end": "2026-09-25",
"limit": {
"amount": "100",
"origin": "self_service",
"updated_at": "2026-09-24T09:12:03.412Z"
},
"effective_limit_usd": "100",
"spend_usd": "37.41",
"block": {
"detected_at": "2026-09-24T08:41:17Z",
"spend_usd": "10.20",
"limit_usd": "10",
"blocked_until": "2026-09-25"
},
"allocation": {
"total_limit_usd": "1000.00",
"allocated_usd": "800.00",
"unallocated_usd": "200.00",
"over_allocated_usd": "0.00"
},
"credential_limits": [
{
"credential_id": "KEY0192F3A1B2C3D4E5F6A7B8C9D0E1F2",
"limit": {
"amount": "300.00",
"origin": "self_service",
"updated_at": "2026-10-20T08:03:40Z"
},
"spend_usd": "120.00",
"block": {
"detected_at": "2026-09-24T08:41:17Z",
"spend_usd": "10.20",
"limit_usd": "10",
"blocked_until": "2026-09-25"
}
}
],
"evaluation": {
"spend_usd": "37.41",
"note": "A block was lifted by Telnyx support today; this limit applies from tomorrow."
}
}
}Changes
- info
added the new optional
queryrequest parametercredential_id - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info