PATCH
/
v1
/
delegations
/
check-cascading-updates
Check cascading updates
curl --request PATCH \
  --url https://staging.api.us.aptlydone.com/decision/v1/delegations/check-cascading-updates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "decisionId": "864fa115-52d0-4466-baff-740447a60774",
  "parentDelegationId": "726fa115-52d0-4466-baff-740447a60774",
  "updatedPathwayOptions": [
    "Matrix",
    "Direct Line",
    "Functional"
  ],
  "updatedDelegationGroups": [
    {
      "groupId": "105fa115-52d0-4466-baff-740447a60774",
      "tenantGroupTypeId": "105fa115-52d0-4466-baff-740447a60774",
      "isInvalid": false
    }
  ],
  "updatedDelegationAuthorities": [
    {
      "authorityTypeId": "105fa115-52d0-4466-baff-740447a60774",
      "authorityTypeOrder": 1,
      "authorityLimit": "Primary",
      "authorityLimitValueType": "Value (currency)",
      "authorityLimitOperator": "<=",
      "authorityLimitValue": "1000000",
      "authorityLimitValueUnit": "$",
      "redelegable": true,
      "redelegationLimitValue": "500000",
      "redelegationLimitValueUnit": "$",
      "isInvalid": false,
      "isLimitOverridden": false
    }
  ],
  "updatedDecisionGroups": [
    {
      "groupId": "105fa115-52d0-4466-baff-740447a60774",
      "groupName": "Engineering Team",
      "tenantGroupTypeId": "105fa115-52d0-4466-baff-740447a60774"
    }
  ],
  "updatedDecisionAuthorities": [
    {
      "authorityTypeId": "105fa115-52d0-4466-baff-740447a60774",
      "authorityType": "Approval",
      "authorityTypeOrder": 1,
      "authorityTypeIcon": "check-square",
      "authorityLimit": "Primary",
      "authorityLimitValueType": "Value (currency)",
      "authorityLimitOperator": "<=",
      "authorityLimitValue": "1000000",
      "authorityLimitValueUnit": "$"
    }
  ]
}'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T10:47:32.804Z",
  "message": "Success",
  "data": {
    "childDelegationsAffected": false,
    "childDelegationsInvalidated": false
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

Cascading updates checked successfully before Delegation update

The response is of type object.