Delete an attachment
DELETE
/attachments/{attachment_id}
Path parameters
-
attachment_id integer Required
Attachment ID.
DELETE /attachments/{attachment_id}
curl \
-X DELETE /wp-json/hivepress/v1/attachments/{attachment_id}