DELETE
/
v1
/
delegations
/
{delegationId}
/
conditions
/
{conditionId}
Delete delegation condition
curl --request DELETE \
  --url https://staging.api.us.aptlydone.com/decision/v1/delegations/{delegationId}/conditions/{conditionId} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T10:47:32.804Z",
  "message": "Success",
  "data": {
    "id": "7sf90da4-0634-40b9-abf5-6e97a222ttt8",
    "conditionName": "test condition",
    "conditionDescription": "description of condition",
    "updatedAt": "2025-03-05T11:49:50.577Z",
    "createdAt": "2025-03-05T11:49:50.577Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

conditionId
string
required

Response

200 - application/json

Condition delegation deleted successfully

The response is of type object.