Last updated 17 days ago
Was this helpful?
Get id, email, name, image and activation status
/user
curl -L \ --url 'http://api.bytenite.com/v1/auth/user' \ --header 'Authorization: YOUR_API_KEY'
{ "user": { "id": "text", "createdAt": "2025-02-21T15:05:48.384Z", "lastLogin": "2025-02-21T15:05:48.384Z", "displayName": "text", "email": "text", "phoneNumber": "text", "photoUrl": "text", "providerId": "text", "emailVerified": true, "customClaims": {}, "role": "ROLE_NONE" } }
Set editable user info
USER_INFO_EMPTY
USER_DISPLAY_NAME
curl -L \ --request POST \ --url 'http://api.bytenite.com/v1/auth/user' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"property":"USER_INFO_EMPTY"}'