Delete a specific environment.

DELETE /v1/Services/{ServiceSid}/Environments/{Sid}

Represents a deployed build of a given set of Functions and/or Assets at a specific URL.

Delete a specific environment.

Path parameters

  • ServiceSid string Required

    The SID of the Service to delete the Environment resource from.

  • Sid string Required

    The SID of the Environment resource to delete.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^ZE[0-9a-fA-F]{32}$.

Responses

  • 204

    The resource was deleted successfully.

DELETE /v1/Services/{ServiceSid}/Environments/{Sid}
curl \
 --request DELETE 'https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{Sid}' \
 --user "username:password"