cURL
curl --request PUT \ --url https://api.veryfront.com/me/username \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>" } '
{ "user": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "[email protected]", "name": "<string>", "username": "<string>", "avatar_src": "<string>", "role": [ "<string>" ], "approved": true }, "previous_username": "<string>" }
Set or update the authenticated user’s username
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.
1 - 39
Username updated successfully
Show child attributes