Users
Delete profile photo
Changed onRemoves the profile photo from the user record and deletes the associated file from the files table.
delete/users/{id}/profile-photo
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/users/{id}/profile-photo
- AuthHTTP bearer
Path parameters
idinteger required
User ID
Response
Profile photo deleted
Example response
{
"message": "OK"
}Changes
- info
api operation id
deleteUserProfilePhotowas added - info
api tag
Usersadded - info
api tag
Users - Profile Photoremoved
- info
- info
api operation id
deleteUserProfilePhotoremoved and replaced with - info
api tag
Users - Profile Photoadded - info
api tag
Usersremoved
- info