v44

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-192301780.0 KB
Compute

Set default environment

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.

post/compute/v1/environments/{name}/default

Path parameters

namestring required

Name of the compute environment to set as default

Response

Environment successfully set as default

idstring

Unique environment identifier

namestring

Environment name

slugstring

URL-friendly environment identifier

domainstring

Environment domain

isDefaultboolean

Whether this is the default environment

statusstring

Current environment status

createdAtstring date-time

Environment creation timestamp

updatedAtstring date-time

Last update timestamp