delete https://api.gupshup.io/wa/app//business/profile/photo
This endpoint isn't supported for CAPI PNs.
Request Parameters
Key | Description | Constraints |
---|---|---|
Headers | ||
apikey | Apikey of the account where the app is to be created | Should be a valid gupshup.io apikey |
Path Params | ||
appId | Valid app id |
Status Codes
Status Code | Response | Comments |
---|---|---|
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 |