Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
curl --request POST \
--url https://staging.api.us.aptlydone.com/decision/v1/delegations/delegation-request-action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "14f5a115-52d0-4466-baff-740447a60774",
"delegationId": "14f5a115-52d0-4466-baff-740447a60774",
"decisionId": "14f5a115-52d0-4466-baff-740447a60774"
}'{
"statusCode": 200,
"timestamp": "2025-06-24T10:47:32.804Z",
"message": "Success",
"data": {
"delegationId": "14f5a115-52d0-4466-baff-740447a60774",
"decisionId": "14f5a115-52d0-4466-baff-740447a60774",
"actionName": "Delegation Request",
"actionOwnerId": "14f5a115-52d0-4466-baff-740447a60774",
"actionAssigneeIds": [
"14f5a115-52d0-4466-baff-740447a60774"
]
}
}curl --request POST \
--url https://staging.api.us.aptlydone.com/decision/v1/delegations/delegation-request-action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "14f5a115-52d0-4466-baff-740447a60774",
"delegationId": "14f5a115-52d0-4466-baff-740447a60774",
"decisionId": "14f5a115-52d0-4466-baff-740447a60774"
}'{
"statusCode": 200,
"timestamp": "2025-06-24T10:47:32.804Z",
"message": "Success",
"data": {
"delegationId": "14f5a115-52d0-4466-baff-740447a60774",
"decisionId": "14f5a115-52d0-4466-baff-740447a60774",
"actionName": "Delegation Request",
"actionOwnerId": "14f5a115-52d0-4466-baff-740447a60774",
"actionAssigneeIds": [
"14f5a115-52d0-4466-baff-740447a60774"
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Delegation Request generated successfully