Skip to content

Unapply an authorisation rule

Request

Deactivates an authorisation rule. This will result in all card transactions not being evaluated against this rule.

The rule still exists and can be applied again.

Security
ClientCredentialsToken
Path
clientIdstringrequired

The application client ID.

Headers
X-External-Correlation-Idstring, (uuid), <= 36 characters

Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.

Example:f47ac10b-58cc-4372-a567-0e02b2c3d479
Bodyapplication/jsonrequired
ruleIdstring

The ID of the authorisation rule.

curl -i -X POST \
  'https://api.wise.com/2027Q1/spend/applications/{clientId}/spend-controls/rules/unapply' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-External-Correlation-Id: f47ac10b-58cc-4372-a567-0e02b2c3d479' \
  -d '{
    "ruleId": "123"
  }'

Responses

Rule unapplied successfully.

Headers
X-External-Correlation-Idstring, (uuid), <= 36 characters

Echoed back when X-External-Correlation-Id was included in the request. Learn more.

Example:"f47ac10b-58cc-4372-a567-0e02b2c3d479"
x-trace-idstring

Unique trace identifier assigned by Wise. Useful when contacting support about a specific request.

Example:"fba501b6d453b96789f52338f019341f"
Response
No content