Skip to main content
POST
/
v1
/
rule-sets
/
{rule-set-id}
/
entity-bindings
Create Entity Bindings
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

rule-set-id
string<biginteger>
required

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
entities
object[]

Response

Successful operation