cURL
curl --request PUT \ --url https://api.example.com/v2/databases/{database}/tenants/{tenantId}/users/{userId} \ --header 'Content-Type: application/json' \ --cookie nile-auth.session-token= \ --data ' { "name": "<string>", "givenName": "<string>", "familyName": "<string>", "picture": "<string>" } '
{ "id": "<string>", "email": "<string>", "name": "<string>", "givenName": "<string>", "familyName": "<string>", "picture": "<string>", "created": "2023-11-07T05:31:56Z", "emailVerified": "2023-11-07T05:31:56Z", "updated": "2023-11-07T05:31:56Z" }
Updates a user, provided the authorized user is in the same tenant as that user
Session token stored in a cookie after user signs in, prefixed with __Secure if on https
Identified user
Was this page helpful?