Sets a compute environment as the default for the organization. Only one environment can be default at a time - setting a new default will automatically unset the previous one.
{
"id": "env_123abc",
"name": "prod-legal-docs",
"slug": "prod-legal-docs",
"domain": "prod-legal-docs.case.dev",
"isDefault": true,
"status": "active",
"createdAt": "2024-01-15T10:00:00Z",
"updatedAt": "2024-01-15T14:30:00Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.case.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key starting with sk_case_
Name of the compute environment to set as default
Environment successfully set as default
Unique environment identifier
Environment name
URL-friendly environment identifier
Environment domain
Whether this is the default environment
Current environment status
Environment creation timestamp
Last update timestamp
Was this page helpful?
{
"id": "env_123abc",
"name": "prod-legal-docs",
"slug": "prod-legal-docs",
"domain": "prod-legal-docs.case.dev",
"isDefault": true,
"status": "active",
"createdAt": "2024-01-15T10:00:00Z",
"updatedAt": "2024-01-15T14:30:00Z"
}