This operation adds entity bindings to a rule set, associating entities with the rule set.
cURL
curl --request POST \ --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/spend-control/v1/rule-sets/{rule-set-id}/entity-bindings' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "entities": [ { "id": "<string>", "type": "CARD" } ] } '
{ "code": "<string>", "message": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "errorCode": "<string>", "errorType": "STATIC_VALIDATION_ERROR", "errorReason": "<string>", "timestamp": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The audit user to log the request
Show child attributes
Successful operation
Was this page helpful?