ReferenceAuth
/api/v1/auth/me/avatar
Remove the own picture
DELETE
/api/v1/auth/me/avatarAuthorization
session rezepte_session<token>
Session cookie set by POST /api/v1/auth/login.
In: cookie
Response Body
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/api/v1/auth/me/avatar"Empty
/api/v1/auth/me PATCH
Verifies the current password, stores the new one and ends every other session of the user; the session making the call stays valid. An account without a password sets one without currentPassword.
/api/v1/auth/me/avatar PUT
The square to keep, as x,y,size: x and y place its top-left corner as fractions of the upright image's width and height, size is its side as a fraction of the shorter side. Absent keeps the centered square.