v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB
runtime_mutations
rules

Update Rule Handler

put/api/rules/{rule_id}

Path parameters

rule_idstring required

Request body

namestring nullable
descriptionstring nullable
contentstring nullable
rule_type'always' | 'manual' | 'pipeline'
globsstring[] nullable
project_idstring nullable
file_pathstring nullable
pipelineobject nullable

Response

Successful Response

{"stackTrail":"paths:/api/rules/{rule_id}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}