Remove Procedures

Removes specified procedures.

HTTP Request

DELETE /api/sonar/procedures
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
     -d guids=5ad13151-dbc1-41c0-92a7-dfeb5f534f4c \
     -X DELETE https://HOSTNAME/api/sonar/procedures
Request Parameter
KeyRequiedTypeDescriptionNote
guidsOList of StringsProcedure identifier listComma-separated GUID list

Success Response

{
  "failures": []
}

Error Responses

Procedure is not found

HTTP status code 200

{
  "failures": [
    {
      "id": "c1dfe306-abba-4ed8-862b-0e98e2effcb6",
      "reason": "procedure-not-found"
    }
  ]
}
No administrative privilege

HTTP status code 500

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