Remove Member Profile Photo

From KickApps Documentation

Jump to: navigation, search

Members can remove their profile photo using this call.

Your request will look something like this:

http://api.kickapps.com/rest/user/profile/photo/remove/{as}

Post parameters

  • t. String. Required. Your access permissions.
  • callback. String. Optional. The name of your JavaScript callback function.
  • clientIP. String. Optional. Use the clientIP parameter to pass the IP address of the user making the call. If the IP has been blocked by the webmaster under the Affiliate Center -> Manage Members section, an error message will be returned starting with "status":"-1","error":"This IP address has been banned".
  • photoId. The photo id of the image that needs to be removed as the profile image. Note: The image needs to belong to the user whose token is being used.

Payload

On success: "status"="1", "message"= "Profile Photo removed successfully" On error: "status"="-1", "message"= "Profile photo could not be removed. Please make sure that all the user information is correct."

List of KickApps API Calls


Note: Occasionally (and without advanced warning) we modify our API calls by adding new parameters in the response payload. Please keep this in mind when designing your strategy for parsing our responses.