PolicyGroup

Update a policy group in a project

Changed on

Updates the named policy group from the supplied policy group body. The existing record's id is preserved (global stays false). Every proxy/proxy-group that embeds this policy group is updated to match (same cascade as the classic policy group update) — embedded snapshots would otherwise go stale.

put/apiops/projects/{projectName}/policyGroups/{policyGroupName}/

Request

Path parameters

projectNamestring required
policyGroupNamestring required

Request body

region'FROM_CLIENT' | 'TO_BACKEND' | 'FROM_BACKEND' | 'TO_CLIENT'
idstring
projectIdstring
namestring
descriptionstring
globalboolean
buildCustomMessageboolean
customMessageTemplatestring
customMessageContentTypestring
customMessageHttpStatusCodeinteger
oneWayboolean
traceboolean
activeboolean
addToGlobalboolean
policyLocation'API_PROXY_GROUP' | 'API_PROXY' | 'API_PROXY_METHOD'
policyGroupboolean
_classstring required
makeDefaultboolean
targetPipeline'REQUEST' | 'RESPONSE' | 'ERROR'
orderinteger
canBeDeletedboolean
publicKeystring
secretKeystring

Response

successful operation!

status'SUCCESS' | 'FAILURE'
resultMessagestring
resultCountinteger

Changes