Skip to content

Enable Rules

Request

Enable multiple rules. Enabled rules will be applied during project scanning. Only users with Library Manager role can enable rules.

Security
bearerAuth
Bodyapplication/jsonrequired

List of rules ids to enable

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

Responses

Rules enabled successfully