create a contract enforcement level
cURL
curl --request POST \ --url https://{hostname}.gable.ai/v0/contract/enforcement-level \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "enforcementLevel": "RECORD" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "enforcementLevel": "INACTIVE" }
RECORD
NOTIFY
ALERT
BLOCK
INACTIVE