cURL
curl --request PATCH \ --url https://api.example.com/api/v1/tenants/{id} \ --header 'Content-Type: application/json' \ --header 'x-calry-api-key: <api-key>' \ --data ' { "name": "<string>", "domain": "<string>", "isDefault": true } '
{ "id": "<string>", "domain": "<string>", "name": "<string>", "workspaceID": "<string>", "isDefault": true, "status": "ACTIVE", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Optional tenant ID to specify which tenant to operate as. If not provided, the default tenant will be used.
Tenant ID
Tenant name
Tenant domain
Whether this is the default tenant for the workspace
Tenant updated
ACTIVE
INACTIVE