curl --request PATCH \
--url https://staging.api.us.aptlydone.com/settings/v1/decision-categories/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sectionId": "d158cc99-c8a1-474c-9c80-b06821729251",
"categoryName": "Finance",
"isDeleted": false
}'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.214Z",
"message": "Success",
"data": {
"id": "4018092c-7bbb-4d44-a72d-f55793ef9b10",
"tenantId": "3a638310-62ca-454c-8e92-1b18d8d41cf5",
"sectionId": "f3b80983-4b72-4802-aad1-2d563bf55383",
"categoryName": "Finance",
"isDeleted": false,
"section": {
"id": "e1b4ddea-2a24-4473-8df0-21527950ad54",
"tenantId": "00e8f11f-deab-44d2-aee5-f1c0a33c195f",
"sectionName": "Finance Department",
"isDeleted": false
},
"createdAt": "2024-01-15T12:00:00Z"
}
}
curl --request PATCH \
--url https://staging.api.us.aptlydone.com/settings/v1/decision-categories/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sectionId": "d158cc99-c8a1-474c-9c80-b06821729251",
"categoryName": "Finance",
"isDeleted": false
}'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.214Z",
"message": "Success",
"data": {
"id": "4018092c-7bbb-4d44-a72d-f55793ef9b10",
"tenantId": "3a638310-62ca-454c-8e92-1b18d8d41cf5",
"sectionId": "f3b80983-4b72-4802-aad1-2d563bf55383",
"categoryName": "Finance",
"isDeleted": false,
"section": {
"id": "e1b4ddea-2a24-4473-8df0-21527950ad54",
"tenantId": "00e8f11f-deab-44d2-aee5-f1c0a33c195f",
"sectionName": "Finance Department",
"isDeleted": false
},
"createdAt": "2024-01-15T12:00:00Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Decision category updated successfully
The response is of type object
.