Skip to main content
DELETE
/
api
/
{session}
/
profile
/
picture
Delete profile picture
curl --request DELETE \
  --url https://{host}/api/{session}/profile/picture \
  --header 'apikey: <api-key>'
{
    "success": true
}

Description

This endpoint allows you to remove the profile picture of the user authenticated in the WhatsApp session. After removal, the profile will have no display picture.

URL Parameters

session
string
required
WhatsApp unique authenticated session ID

Response

success
boolean
Indicates if the operation was successful
{
    "success": true
}

Status Codes

  • 200 - Picture removed successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized
  • 404 - Picture not found
  • 500 - Internal server error

Usage Example

curl -X DELETE https://api.wappfy.com.br/api/my-session/profile/picture

Observations

  • This operation completely removes the profile picture
  • The profile will have no display image after removal
  • To add a new picture, use the PUT /api//profile/picture endpoint

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

session
string
required

The session name (instanceName) of the profile you want to update

Response

200 - application/json
success
boolean
default:true
required
I