DELETE

Delete Attachment


Deletes the specified attachment from the specified contact.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Contact Attachments
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/contacts/v4/attachments/{contactId}/{attachmentId}

Path Params
contactIdstringRequired

Contact ID for the attachment to delete.


attachmentIdstringRequired

Attachment ID to delete.

Response Object
Returns an empty object.
Delete Attachment Example 1
Request
cURL
curl -X DELETE \ 'https://www.wixapis.com/contacts/v4/attachments/513c1bfc-61b6-427d-a7f8-ceeedb1eb763/1e7efe60-355a-11eb-b032-19d0ca8630af' \ -H 'Authorization: <AUTH>'
Response
JSON
{}
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?