Deployments

Starts a deployment for the specified environment.

post/environments/{environmentId}/deployments

Request

Path parameters

environmentIdstring required

Unique identifier for the environment.

Request body

run_hooksboolean required

Whether to run deployment hooks.

code_referencestring required

The code reference (branch or tag) to deploy.

hooks_argumentstring

Additional arguments passed to deployment hooks.

Response

Deployment started

_embeddedobject

Embedded resources (optional)

message'Deployment started.' required

Confirmation message that the deployment has been started.

Example response

{
  "_links": {
    "self": {
      "href": "https://api.acquia.com/v3/resources/1"
    }
  }
}

Changes

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