Skip to main content
PUT
/
v2
/
databases
/
{database}
/
tenants
/
{tenantId}
update a tenant
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>"
}

Authorizations

nile-auth.session-token
string
cookie
required

Session token stored in a cookie after user signs in, prefixed with __Secure if on https

Path Parameters

database
string
required
tenantId
string
required

Body

application/json

Tenant values to be updated.

name
string

Response

update an existing tenant

name
string