ServerlessV1Deployment

Create a new Deployment.

Changed on

Create a new Deployment.

post/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments

Request

  • Base URL
    https://serverless.twilio.com
  • URL
    https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments
  • Auth
    HTTP basic

Path parameters

ServiceSidstring required

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

EnvironmentSidstring required

The SID of the Environment for the Deployment.

Request body application/x-www-form-urlencoded

BuildSidstring

The SID of the Build for the Deployment.

IsPluginboolean

Whether the Deployment is a plugin.

Response

Created

sidstring nullable

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

account_sidstring nullable

The SID of the Account that created the Deployment resource.

service_sidstring nullable

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

environment_sidstring nullable

The SID of the Environment for the Deployment.

build_sidstring nullable

The SID of the Build for the deployment.

date_createdstring date-time nullable

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

date_updatedstring date-time nullable

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

urlstring uri nullable

The absolute URL of the Deployment resource.

Changes