Deployments let you set a particular Build to be live on a particular Environment.
The SID of the Service that the Deployment resource is associated with.
The date and time in GMT when the Deployment resource was created specified in ISO 8601 format.
The date and time in GMT when the Deployment resource was last updated specified in ISO 8601 format.
The absolute URL of the Deployment resource.
POST https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments
The SID of the Service to create the Deployment resource under.
The SID of the Build for the Deployment.
POST
ing to the deployment endpoint without a Build SID will delete any existing deployments in that Environment. Calls to Functions & Assets that were hosted by that Environment will result in 404s.
GET https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments/{Sid}
The SID of the Service to fetch the Deployment resource from.
The SID of the Environment used by the Deployment to fetch.
GET https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments
The SID of the Service to read the Deployment resources from.
The SID of the Environment used by the Deployment resources to read.
How many resources to return in each list page. The default is 50, and the maximum is 1000.