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