Delete all spend rules for a card
DELETE
/managed_cards/{id}/spend_rules Clears all card-level spend rules from the managed card identified by the id path parameter.
This removes the merchant, MCC, and country lists, the transaction-type switches, the transaction size bounds, and every spend limit set on this card. The profile-level rules configured in the Multi Portal are unaffected and continue to apply, so the card falls back to whatever its Managed Card Profile permits, which is usually less restrictive. Check the profile's rules before calling this on a live card.
The deletion is immediate and permanent; there is no way to restore the previous rules. Afterwards, the card has no card-level rules, so use Create spend rules rather than the update operation to set new ones.
Request
Available on
SandboxProduction
Path parameters
Responses
204No Content
Success - No Content.
Headers