v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-02-053917213.0 KB
ServerlessV1Environment

Create a new environment.

Create a new environment.

post/v1/Services/{ServiceSid}/Environments

Path parameters

ServiceSidstring required

The SID of the Service to create the Environment resource under.

Response

Created

sidstring nullable

The unique string that we created to identify the Environment resource.

account_sidstring nullable

The SID of the Account that created the Environment resource.

service_sidstring nullable

The SID of the Service that the Environment resource is associated with.

build_sidstring nullable

The SID of the build deployed in the environment.

unique_namestring nullable

A user-defined string that uniquely identifies the Environment resource.

domain_suffixstring nullable

A URL-friendly name that represents the environment and forms part of the domain name.

domain_namestring nullable

The domain name for all Functions and Assets deployed in the Environment, using the Service unique name, a randomly-generated Service suffix, and an optional Environment domain suffix.

date_createdstring date-time nullable

The date and time in GMT when the Environment resource was created specified in ISO 8601 format.

date_updatedstring date-time nullable

The date and time in GMT when the Environment resource was last updated specified in ISO 8601 format.

urlstring uri nullable

The absolute URL of the Environment resource.

linksobject nullable

The URLs of the Environment resource's nested resources.