Skip to main content

Delete Contact Avatar

DELETE 

/accounts/:account_id/contacts/:contact_id/avatar

Remove a contact's avatar image.

To set a new avatar, use Update Contact.

SettingValue
MethodDELETE
Path/api/v1/accounts/{account_id}/contacts/{contact_id}/avatar
AuthorizationUser token. Same as Retrieve Contact: legacy roles: any agent; new rules: Contacts → read. Agent-bot tokens: not allowed.

Example request

curl -X DELETE 'https://online.99digital.co.il/api/v1/accounts/12/contacts/801/avatar' \
-H 'api_access_token: <YOUR_API_ACCESS_TOKEN>'

Example response (200 OK): {"payload": { ...contact object without contact_inboxes... }} with "thumbnail": "".

Request​

Responses​

The contact, without its avatar.