Deployments let you set a particular Build to be live on a particular Environment.
The unique string that we created to identify the Deployment resource.
^ZD[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Account that created the Deployment resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Service that the Deployment resource is associated with.
^ZS[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Environment for the Deployment.
^ZE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Build for the deployment.
^ZB[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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 Build for the Deployment.
^ZB[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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 Environment used by the Deployment to fetch.
^ZE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID that identifies the Deployment resource to fetch.
^ZD[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
GET https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.