Delete a Function resource

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

A wrapper that represents a Serverless JavaScript function and groups the different and groups the different Versions of this code.

Delete a Function resource.

Path parameters

  • ServiceSid string Required

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

  • Sid string Required

    The SID of the Function resource to delete.

Responses

  • 204

    The resource was deleted successfully.

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