Skip to main content
DELETE
/
api
/
rest
/
rules
/
{id}
Delete One Rule
curl --request DELETE \
  --url https://api.upwell.com/api/rest/rules/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>"
}
'
{
  "deleteRule": {
    "actionType": "CREATE_EXCEPTION",
    "actionValue": "<unknown>",
    "createdAt": "<unknown>",
    "criteriaField": "<string>",
    "criteriaObject": "EMAIL_MESSAGE",
    "criteriaOperator": "ARRAY_DOES_NOT_HAVE_OBJECT_WITH_PROPERTY",
    "criteriaValue": "<string>",
    "customerId": "<string>",
    "id": "<string>",
    "priority": 123,
    "type": "CARRIER_INVOICE_EXCEPTION",
    "updatedAt": "<unknown>"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

id
string
required

"id" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

id
string

Response

200 - application/json

Responses for DELETE /api/rest/rules/{id}

deleteRule
Rules · object

Rules used for matching, document requirements, etc