cURL
curl --request PUT \ --url https://api.example.com/v2/databases/{database}/tenants/{tenantId} \ --header 'Content-Type: application/json' \ --cookie nile-auth.session-token= \ --data ' { "name": "New tenant name" } '
{ "name": "<string>" }
updates a tenant in the database
Session token stored in a cookie after user signs in, prefixed with __Secure if on https
Tenant values to be updated.
update an existing tenant
Was this page helpful?