Remove Logger

Removes a specified logger. Administrator privileges are required to call this API.

HTTP Request

DELETE /api/sonar/loggers/:guid
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
     -X DELETE https://HOSTNAME/api/sonar/loggers/b90ea540-4f47-4bcf-b708-af610a649c50
Request Parameters
KeyRequiredTypeDescriptionNote
guidOStringLogger identifier36-characters GUID
drop_tableXBooleanWhether to drop table as wellDefault: false

Success Response

{}
Logger identifier is not in valid GUID format

HTTP status code 400

{
  "error_code": "invalid-param-type",
  "error_msg": "guid should be guid type."
}
No administrator privileges

HTTP status code 500

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