curl --request PATCH \
--url https://staging.api.us.aptlydone.com/actions/v1/actions/validate-action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"delegationId": "1bccf9d6-cb7c-4337-8011-d34a91789f1c",
"decisionId": "380143ae-1d2a-4105-902a-0fdc72d11c00",
"tenantId": "caa64676-d047-4611-b528-9704865cd48b"
}'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:49:16.735Z",
"message": "Success",
"data": {
"actionName": "Delegation Request",
"isExist": true,
"userId": "b4255acd-bcf3-4fbd-94e1-64267f9dbf1c"
}
}
curl --request PATCH \
--url https://staging.api.us.aptlydone.com/actions/v1/actions/validate-action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"delegationId": "1bccf9d6-cb7c-4337-8011-d34a91789f1c",
"decisionId": "380143ae-1d2a-4105-902a-0fdc72d11c00",
"tenantId": "caa64676-d047-4611-b528-9704865cd48b"
}'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:49:16.735Z",
"message": "Success",
"data": {
"actionName": "Delegation Request",
"isExist": true,
"userId": "b4255acd-bcf3-4fbd-94e1-64267f9dbf1c"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Action validated successfully
The response is of type object
.