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

Request

  • Base URL
    https://api.case.dev
  • URL
    https://api.case.dev/compute/v1/environments/{name}/default
  • Auth
    HTTP bearer

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

Changes

No recorded changes to this operation across all 54 revisions of this API.