def delete(self, trigger_id):
        """
        Delete a trigger.

        Handles requests:
            DELETE /triggers/1
        """
        LOG.info("DELETE /triggers/ with id=%s", trigger_id)
        trigger_db = TriggerController.__get_by_id(trigger_id)
        try:
            Trigger.delete(trigger_db)
        except Exception as e:
            LOG.exception(
                'Database delete encountered exception during delete of id="%s". ',
                trigger_id,
            )
            abort(http_client.INTERNAL_SERVER_ERROR, six.text_type(e))
            return

        extra = {"trigger_db": trigger_db}
        LOG.audit("Trigger deleted. Trigger.id=%s" % (trigger_db.id), extra=extra)

        return Response(status=http_client.NO_CONTENT)

        Delete a trigger.

        Handles requests:
            DELETE /triggers/1
        
st2api/st2api/controllers/v1/triggers.py