Memos unofficial
DELETE/api/v1/attachments/{attachment}

Delete an attachment

Deletes an attachment by its identifier. Use the attachment path value to select the attachment to remove.

1 parameter
attachmentstringrequired
The identifier of the attachment to delete.

2 status codes
200Confirms that the attachment was deleted.
defaultReturned when the request fails; includes an error code, a developer-facing message, and optional structured details.
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.

Error handling

The attachment path parameter must identify the attachment to delete.