cURL
curl --request PUT \ --url https://api.example.com/v2/databases/{database}/tenants/{tenantId}/users/{userId}/link \ --cookie nile-auth.session-token=
{ "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" }
A user that already exists is added to a tenant
Session token stored in a cookie after user signs in, prefixed with __Secure if on https
update an existing tenant
Was this page helpful?