DELETE /users/{uid}/photo/{photoId}
Summary
- Method:
DELETE
- Response Code:
204 / 200
- Response Formats:
- Since:
UForge 3.0
Removes an uploaded avatar photo for an user.
- Requires Authentication:
true
- Entitlements Required:
user_profile_edit
uid
(required): the user name (login name) of theuser-object
photoId
(required): the id of thelogo-object
None
curl "https://uforge.example.com/api/users/{uid}/photo/{photoId}" -X DELETE \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
user-api-resources
user-object
userAvatar-download
userAvatar-downloadFile
userAvatar-upload
userPassword-reset