Skip to content

Disable Rules

Request

Disable multiple rules by their IDs. Disabled rules will not be applied during project scanning. Only users with Library Manager role can disable rules.

Security
bearerAuth
Bodyapplication/jsonrequired

List of rule IDs to disable

Array of integers, (int64)
curl -i -X PUT \
  https://codeinsightapi.redocly.app/_mock/swagger/rules/disable \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '[
    0
  ]'

Responses

Rules disabled successfully