Environments

Create environment

Create a new environment.

post/applications/{application}/environments

Request

  • Base URL
    https://cloud.laravel.com/api
  • Auth
    HTTP bearer

Path parameters

applicationstring required

The application identifier

Request body

build_commandstring nullable

Optional build command. Omit it or send null to skip the build command for a static website.

branchstring required
namestring required
cluster_idstring nullable

The identifier of a dedicated cluster to deploy to. Only fill it if your organization has a dedicated cluster and you want to use it for this environment.

edge_network_idstring nullable

The identifier of the edge network the environment should be created in. Only fill it if your organization has a dedicated edge network and you want to use it for this environment. Defaults to the edge network preferred by your organization.

Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.