curl --request DELETE \
--url https://staging.api.us.aptlydone.com/settings/v1/decision-sections/{id} \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.214Z",
"message": "Success",
"data": {
"id": "887fc457-023f-4f73-8690-0783b1f797d1",
"tenantId": "c18841c9-b6bc-4231-91c0-a05458cbfb03",
"sectionName": "Finance Department",
"isDeleted": false,
"categories": [
{
"id": "2f814d21-28bb-45fd-9e59-abc0e1a6ebb4",
"tenantId": "12d1757e-8bd3-4180-a8a9-10b4d9a74533",
"sectionId": "0500df64-ea8e-4f93-8389-b13a4b1be930",
"categoryName": "Finance",
"isDeleted": false
}
],
"createdAt": "2024-01-15T12:00:00Z"
}
}
curl --request DELETE \
--url https://staging.api.us.aptlydone.com/settings/v1/decision-sections/{id} \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.214Z",
"message": "Success",
"data": {
"id": "887fc457-023f-4f73-8690-0783b1f797d1",
"tenantId": "c18841c9-b6bc-4231-91c0-a05458cbfb03",
"sectionName": "Finance Department",
"isDeleted": false,
"categories": [
{
"id": "2f814d21-28bb-45fd-9e59-abc0e1a6ebb4",
"tenantId": "12d1757e-8bd3-4180-a8a9-10b4d9a74533",
"sectionId": "0500df64-ea8e-4f93-8389-b13a4b1be930",
"categoryName": "Finance",
"isDeleted": false
}
],
"createdAt": "2024-01-15T12:00:00Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Decision section deleted successfully
The response is of type object
.