Update Logger Group

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

HTTP Request

PUT /api/sonar/logger-groups/:guid
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
     -d name="Firewall" \
     -d parent_guid="54157629-74f7-4d80-be5a-8cb8f0c71087" \
     -X PUT https://HOSTNAME/api/sonar/logger-groups/0565a218-a78d-43ff-89b6-a9899adcf8c5
Request Parameters
guidOStringLogger group identifier36-characters GUID
nameOStringLogger group nameMinimum 1 to maximum 50 characters.
descriptionXStringLogger group descriptionMaximum 2,000 characters
parent_guidXStringParent logger group identifier36-characters GUID

Success Response


Error Responses

Required argument is missing

HTTP status code 400

  "error_code": "null-argument",
  "error_msg": "name should be not null"
Invalid argument length

HTTP status code 400

  "error_code": "invalid-argument",
  "error_msg": "'name' must be less than or equal to 50 characters."
No administrator privileges

HTTP status code 500

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