cURL
curl --request PUT \ --url https://api.production.hyperoru.com/api/users/profile \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "username": "<string>" } '
{ "id": 123, "is_active": true, "username": "<string>", "email": "<string>" }
Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.
POST /api/users/login
Authorization: Bearer <token>
Update current user profile
Was this page helpful?