ReleaseGatePolicyUpdate
Fields
Update a draft policy (fails if already published).
3 fields
description- string or null
name- string or null
rules- PolicyDocument or null
Raw schema (JSON)
{
"description": "Update a draft policy (fails if already published).",
"properties": {
"description": {
"anyOf": [
{
"maxLength": 50000,
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"name": {
"anyOf": [
{
"maxLength": 255,
"minLength": 2,
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"rules": {
"anyOf": [
{
"$ref": "#/components/schemas/PolicyDocument"
},
{
"type": "null"
}
]
}
},
"title": "ReleaseGatePolicyUpdate",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
PATCH/api/v1/release-gate-policies/{policy_id}— Update Policy
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON