Create avatar from temporary
Creates avatar from temporary
POST
/api/2/universal_avatar/type/{type}/owner/{owningObjectId}/avatarAuthorization
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
typestringrequiredowningObjectIdstringrequiredEntity id where to change avatar
Request body
application/jsoncropperOffsetXinteger<int32>cropperOffsetYinteger<int32>cropperWidthinteger<int32>needsCroppingbooleanurlstringResponses
201
Returns the created avatar.
idstringownerstringselectedboolean400
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.