Delete an attachment from a document

delete/documents/{entityTypeName}/{documentId}/attachments/{attachmentId}
Internal-Use Only

Deletes an attachment that is associated with a document. The metadata and the file that are stored by the Files service are deleted.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
attachmentId
string
true

The ID for the attachment metadata.

documentId
string
true

The ID for the document.

entityTypeName
string
true

The name of the entity type to which the document belongs.

Responses

StatusMeaningDescription
204No ContentThe attachment was deleted.
404Not FoundThe attachment was not found.Schema