Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.03 KB

userAvatar_delete.rst

File metadata and controls

51 lines (34 loc) · 1.03 KB

userAvatar_delete

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.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: user_profile_edit

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • photoId (required): the id of the logo-object

HTTP Request Body Parameters

None

Example Request

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