Skip to main content
PATCH
/
v1
/
actions
/
validate-action
Validate action
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 '
{
  "tenantId": "caa64676-d047-4611-b528-9704865cd48b",
  "delegationId": "1bccf9d6-cb7c-4337-8011-d34a91789f1c",
  "decisionId": "380143ae-1d2a-4105-902a-0fdc72d11c00"
}
'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:49:16.735Z",
  "message": "Success",
  "data": {
    "actionName": "Delegation Request",
    "isExist": true,
    "userId": "b4255acd-bcf3-4fbd-94e1-64267f9dbf1c"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
tenantId
string<uuid>
required

Tenant ID

Example:

"caa64676-d047-4611-b528-9704865cd48b"

delegationId
string<uuid>

Delegation ID (optional)

Example:

"1bccf9d6-cb7c-4337-8011-d34a91789f1c"

decisionId
string<uuid>

Decision ID (optional)

Example:

"380143ae-1d2a-4105-902a-0fdc72d11c00"

Response

200 - application/json

Action validated successfully

statusCode
number
required

HTTP Status code

Example:

200

timestamp
string
required

Timestamp of the response

Example:

"2025-06-24T08:49:16.735Z"

message
string
required

Response message

Example:

"Success"

data
object
required

Response data