Skip to main content

DeleteUserProfilePicture

Delete the user profile picture

Description

Deletes the user profile picture

Method

DELETE

Request URL Format

/api/v0/userinfo/profilepic

Payload

An empty JSON must be specified

{}

Request URL Sample

DELETE https://api.xxx.com/api/v0/userinfo/profilepic

Response Sample

{
"error": null
}

Error Response Sample

Error if the profile image to be deleted does not exist

{
"error": "profile picture does not exist"
}