Documents

Remove the link between two documents

Takes back the statement that two documents go together, whoever made it — a person or Custodo. Both documents stay exactly as they are; only the connection goes, and re-linking means calling documents_link again. Links that other modules hold (a task’s attachment, an envelope’s document) are not documents links and are changed in their own module. Ask the user to confirm.

Examples

  • That certificate is not this contract’s — unlink them DELETE /api/v1/rest/documents/11111111-2222-4333-8444-555555555555/links/22222222-3333-4444-8555-666666666666
delete/api/v1/rest/documents/{id}/links/{linked_id}

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/documents/{id}/links/{linked_id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

One of the two documents.

linked_idstring uuid required

The other one.

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.