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.
Tenant ID
"123e4567-e89b-12d3-a456-426614174000"
Array of delegation IDs to link documents to
[
"123e4567-e89b-12d3-a456-426614174001",
"123e4567-e89b-12d3-a456-426614174002"
]Array of document IDs to link with delegations
[
"123e4567-e89b-12d3-a456-426614174003",
"123e4567-e89b-12d3-a456-426614174004"
]Documents are being linked to delegations