def METHOD_NAME(name=None):
    """
    This call deletes the given service ID definition.
    :param name: The name of the service.
    :return: a json result with value=1 if deleting the service ID was successful
    **Example request**:
    .. sourcecode:: http
       DELETE /serviceid/service1 HTTP/1.1
       Host: example.com
       Accept: application/json
    **Example response**:
    .. sourcecode:: http
       HTTP/1.1 200 OK
       Content-Type: application/json
        {
          "id": 1,
          "jsonrpc": "2.0",
          "result": {
            "status": true,
            "value": 1
          },
          "version": "privacyIDEA unknown"
        }
    """
    ret = delete_serviceid(name)
    g.audit_object.log({"success": True,
                        "info": name})
    return send_result(1)