curl --request PATCH \
--url https://staging.api.us.aptlydone.com/settings/v1/decision-roles/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"roleName": "Approver",
"isDeleted": false,
"status": "ACTIVE"
}'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.214Z",
"message": "Success",
"data": {
"id": "4e2e1f93-4a15-45a8-b9c1-635e9fc2fe14",
"tenantId": "2ef55a4e-d3ad-48df-97dd-e547819299e7",
"roleName": "Approver",
"isDeleted": false,
"status": "ACTIVE"
}
}
curl --request PATCH \
--url https://staging.api.us.aptlydone.com/settings/v1/decision-roles/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"roleName": "Approver",
"isDeleted": false,
"status": "ACTIVE"
}'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.214Z",
"message": "Success",
"data": {
"id": "4e2e1f93-4a15-45a8-b9c1-635e9fc2fe14",
"tenantId": "2ef55a4e-d3ad-48df-97dd-e547819299e7",
"roleName": "Approver",
"isDeleted": false,
"status": "ACTIVE"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Decision role updated successfully
The response is of type object
.