Skip to content

deleteProfilePhoto

Sahri Riza Umami edited this page Mar 15, 2017 · 4 revisions

Deletes profile photo.

deleteProfilePhoto(profile_photo_id)

If something changes, updateUser will be sent.

Option Description
profile_photo_id Identifier of profile photo to delete.

Example

  • Deletes currently logged in profile photo. A user can have alots of profile photo, this example remove profile photo wich its id is 45.

    deleteProfilePhoto(45)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally