Deactivate a card's spend control
POST
/v1/cards/{id}/authorization-controls/{controlId}/deactivateRequires an API client bearer token.
Deactivates a spend control on this card. Requires an Idempotency-Key header.
Parameters
Path parameters
| Name | Required | Description |
|---|---|---|
| id | required | |
| controlId | required |
Header parameters
| Name | Required | Description |
|---|---|---|
| Idempotency-Key | required | Client-chosen. An identical retry with the same key returns the stored response; reusing the key with a different payload returns 409. |
Example
curl -X POST https://api.rigid.fi/v1/cards/{id}/authorization-controls/{controlId}/deactivate \
-H "Authorization: Bearer $RIGID_API_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"Responses
200The deactivated spend control.
mcc_allowarray of string
mcc_denyarray of string
country_allowarray of string
country_denyarray of string
channels_denyarray of "pos" | "ecommerce" | "atm" | "moto"
entry_mode_denyarray of "contactless" | "chip" | "magstripe" | "manual"
max_amountstring
idstringrequired
activebooleanrequired
400Validation error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
401Authentication required
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
403Forbidden
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
404Card or control not found
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
409The control is already inactive, or the Idempotency-Key was reused with a different payload
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
500Internal server error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring