def delete(self, id):
        """
        This API endpoint allows you to delete an alert policy

        :type id: integer
        :param id: The id of the policy

        :rtype: dict
        :return: The JSON response of the API

        ::

            {
                "policy": {
                    "created_at": "time",
                    "id": "integer",
                    "incident_preference": "string",
                    "name": "string",
                    "updated_at": "time"
                }
            }

        """

        return self._delete(
            url='{0}alerts_policies/{1}.json'.format(self.URL, id),
            headers=self.headers
        )
This API endpoint allows you to delete an alert policy

        :type id: integer
        :param id: The id of the policy

        :rtype: dict
        :return: The JSON response of the API

        ::

            {
                "policy": {
                    "created_at": "time",
                    "id": "integer",
                    "incident_preference": "string",
                    "name": "string",
                    "updated_at": "time"
                }
            }