Last updated 1 month 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-03-15T22:40:24.060Z", "lastLogin": "2025-03-15T22:40:24.060Z", "displayName": "text", "email": "text", "phoneNumber": "text", "photoUrl": "text", "providerId": "text", "emailVerified": true, "customClaims": {}, "role": "ROLE_NONE", "contactInfo": { "company": "text", "jobTitle": "text", "phoneNumber": "text", "address1": "text", "address2": "text", "city": "text", "state": "text", "zip": "text", "country": "text" } } }
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", "value": null }'