API referencePortal APISecurity events and findingsTune detectionTune detection PATCH /api/security/detections/:rule_id Tune detection Request Responses200401403422Successful ResponseThe token is missing, invalid or expired. Refresh it, or sign in again.Your role does not allow this. The detail names the missing permission or role.Validation Error