Remove Stream Rules

Deletes the specified stream rules.

HTTP Request

DELETE /api/sonar/stream-rules
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
     -X DELETE \
Request Parameter
guidsOList (of strings)Stream rule GUID listComma-separated list

Success Response

    "failures": []

Error Responses

Stream rule is not found

HTTP status code 200

    "failures": [
            "id": "638cfeb2-e259-46af-961a-1eeb65ea35f1",
            "reason": "stream-rule-not-found"
Identifier is not in valid GUID format

HTTP status code 400

    "error_code": "invalid-param-type",
    "error_msg": "guids should be guid type."