PATCH
/
v1
/
decisions
/
bulk-link-documents
Link multiple documents and decisions
curl --request PATCH \
  --url https://staging.api.us.aptlydone.com/decision/v1/decisions/bulk-link-documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tenantId": "105fa115-52d0-4466-baff-740447a60774",
  "decisionIds": [
    "7df90da4-0634-40b9-abf5-6e97a222cfb8",
    "5378637c-0098-457f-94a4-1cc983593f13"
  ],
  "documentIds": [
    "105fa115-52d0-4466-baff-740447a60774",
    "3ad7c005-ded4-438c-8ebc-e847e1544a4b"
  ]
}'

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 decisions