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.

Responses

  • 204

    The resource was deleted successfully.

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