Delete avatar by ID
Deletes avatar
DELETE
/api/2/universal_avatar/type/{type}/owner/{owningObjectId}/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
typestringrequiredowningObjectIdstringrequiredEntity id where to change avatar
Responses
200
Returns the status of the deletion.
400
Returned if the provided data isn't valid.
403
Returned if the user doesn't have admin permissions.
404
Returned if the feature is turned off via a feature flag.