Documents

Delete document attachment

Changed on

Hard-delete only this relationship. Preserve the file, S3 bytes, signing requests and other mappings. A missing attachment returns 404.

delete/documents/{id}/attachments/{attachmentId}

Request

  • Base URL: https://api.mvmnt.io/v1
  • URL: https://api.mvmnt.io/v1/documents/{id}/attachments/{attachmentId}
  • Auth: HTTP bearer

Path parameters

idstring required

Resource ID (UUID) or client key

attachmentIdstring uuid required

Query parameters

by'id' | 'key'

Specify lookup type for faster retrieval. If omitted, defaults to looking up by ID first, then falls back to client key if not found. Use by=key when you know you're providing a client key for best performance.

Response

Relationship removed; file preserved

Changes