Links the given documents to one of the client's tasks, or unlinks them from their task when taskCode is null. The file is not copied or moved and its portal folder is unchanged. A document has one task: one already on another task moves to this one. A document made by a step or request of its task cannot be unlinked, and fails individually. 404 when the task is not one of the client's.
Requires: Update on ClientDocuments.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| client* | path string | |
Request Body*
{
"documentCodes": [
"string"
],
"taskCode": "string"
}
Responses
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found