PATCH
/
v1
/
delegations
/
bulk-link-documents
Link multiple documents and delegations
curl --request PATCH \
  --url https://staging.api.us.aptlydone.com/decision/v1/delegations/bulk-link-documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tenantId": "123e4567-e89b-12d3-a456-426614174000",
  "delegationIds": [
    "123e4567-e89b-12d3-a456-426614174001",
    "123e4567-e89b-12d3-a456-426614174002"
  ],
  "documentIds": [
    "123e4567-e89b-12d3-a456-426614174003",
    "123e4567-e89b-12d3-a456-426614174004"
  ]
}'

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200

Documents are being linked to delegations