Delete Business Profile Photo

Request Parameters

KeyDescriptionConstraints
Headers
apikeyApikey of the account where the app is to be createdShould be a valid gupshup.io apikey
Path Params
appIdValid app id

Status Codes

Status CodeResponseComments
Success
200{
"message": "profile photo deleted successfully",
"status": "success"
}
Error
400{
"status": "error",
"message": "Invalid app id provided"
}
When invalid/empty appId is provided
400{
"error": {
"message": "App Not Live"
},
"status": "error"
}
When app is not live
400{
"status": "error",
"error": {
"message": "
}
}
When Facebook returns an error while setting business profile photo
400{
"status": "error",
"error": {
"message": "profile photo doesn't exist"
}
}
When profile photo does not exists
401{
"status": "error",
"message": "Authentication Failed"
}
When API key is unauthorized
429{
"status": "error",
"message": "Too Many Requests"
}
When the rate limit is exceeded
500{
"status": "error",
"message": "Internal server error. Please try again later."
}
When internal server error while processing
Language
Click Try It! to start a request and see the response here!