Remove Logger Groups

Revmoves specified logger groups. Administrator privileges are required to call this API.

HTTP Request

DELETE /api/sonar/logger-groups
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
     -d guids="54157629-74f7-4d80-be5a-8cb8f0c71087" \
     -X DELETE https://HOSTNAME/api/sonar/logger-groups
Request Parameter
KeyRequiredTypeDescriptionNote
guidsOList of stringsLogger group GUID listComma-separated GUID list

Success Response

{
    "failures": []
}

Error Responses

Logger group is not found

HTTP status code 200

{
    "failures": [
        {
            "id": "c1dfe306-abba-4ed8-862b-0e98e2effcb6",
            "reason": "logger-group-not-found"
        }
    ]
}
No administrator privileges

HTTP status code 500

{
    "error_code": "illegal-state",
    "error_msg": "no-permission"
}