cURL
curl --request POST \ --url https://api.example.com/v2/databases/{database}/tenants \ --header 'Content-Type: application/json' \ --cookie nile-auth.session-token= \ --data ' { "name": "My Sandbox" } '
{ "id": "<string>", "name": "<string>" }
makes a tenant, assigns user to that tenant
Session token stored in a cookie after user signs in, prefixed with __Secure if on https
A wrapper for the tenant name.
The desired uuidv7 of the tenant
A created tenants
Was this page helpful?