Static Analysis
Update an AI custom ruleset
Update the description of an existing AI custom ruleset.
patch/api/v2/static-analysis/ai/rulesets/{ruleset_name}
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/static-analysis/ai/rulesets/{ruleset_name}
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Path parameters
ruleset_namestring required
Example:my-ai-ruleset
The ruleset name.
Request body
Example request
{
"data": {
"attributes": {
"description": "Ruleset description",
"name": "my-ai-ruleset",
"short_description": "Ruleset short description"
},
"id": "my-ai-ruleset",
"type": "ai_ruleset"
}
}Response
Successfully updated
Changes
No recorded changes to this operation across all 1 revision of this API.