Delete avatar
Deletes avatar
DELETE
/api/2/user/avatar/{id}Authorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
or
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
idinteger<int64>requireddatabase id for avatar
Query parameters
usernamestringusername
Responses
204
Returned if the avatar is successfully deleted.
401
Returned if the user is not authenticated.
403
Returned if the currently authenticated user does not have permission to delete the avatar.
404
Returned if the avatar does not exist.