latestOpenAPI 3.0.32026-08-182,281012.1 MB
e2a4b9a05251
Secret Validation Rules
Update Secret Validation Rule
patch/api/v1/projects/{projectId}/secret-validation-rules/{ruleId}
Path parameters
projectIdstring required
The ID of the project the secret validation rule belongs to.
ruleIdstring uuid required
The ID of the secret validation rule to update.
Request body
Example request
{
"rule": {
"constraints": [
{
"type": "min-length",
"appliesTo": "value",
"value": "8"
}
]
}
}Response
Default Response
Example response
{
"rule": {
"constraints": [
{
"type": "min-length",
"appliesTo": "value",
"value": "8"
}
]
}
}