Remove custom rule

Remove a custom semgrep rule

delete/repositories/sast/custom-rules/{rule_id}

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/repositories/sast/custom-rules/{rule_id}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: custom_sast_rules:write

Path parameters

rule_idinteger required

The ID of the custom rule

Response

The custom rule has successfully been removed

successinteger

the integer 1 indicating success

Example response

{
  "success": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.