Rezepte
ReferenceAuth

/api/v1/auth/me

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.

PATCH/api/v1/auth/me
rezepte_session<token>

Session cookie set by POST /api/v1/auth/login.

In: cookie

rezepte_session?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/api/v1/auth/me" \  -H "Content-Type: application/json" \  -d '{    "password": "stringst"  }'
Empty