PUT
/api/v2/authorization/rules/{ruleId}PUT /api/v2/authorization/rules/{ruleId}
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| ruleId (path) | integer (int32) | Yes |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| Name | string | No | |
| Description | string | No | |
| ScopeType | string | No | |
| UserId | unknown | No | |
| CardId | unknown | No | |
| BinRangeId | unknown | No | Required for COMPANY and USER rules. CARD rules derive the BIN from the card product and reject a conflicting supplied value. |
| RuleType | string | No | |
| ResponseCode | string | No | |
| Priority | unknown | No | |
| Active | boolean | No | |
| Configuration | AuthorizationRuleConfiguration | No | |
| EffectiveFrom | string (date-time) | No | |
| EffectiveTo | string (date-time) | No |
Responses
200 — OK
Example request
curl -X PUT "https://{base_url}/api/v2/authorization/rules/{ruleId}" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'This page is generated from the live OpenAPI specification and always matches the current API.