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"
]
}'
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"
]
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Documents are being linked to delegations