Update a Policy
This endpoint updates a policy.
PUT /openapi/v1/policies/{policy_id}
Parameters:
Attribute |
Type |
Description |
---|---|---|
consumer_filter_id |
string |
ID of a defined filter. |
provider_filter_id |
string |
ID of a defined filter. |
policy_action |
string |
Possible values can be ALLOW or DENY. Indicates whether traffic should be al- lowed or dropped for the given service port/protocol between the consumer and provider. |
priority |
integer |
Used to sort policy priorities |
Returns the modified policy object associated with specified ID.
Update a Catch All
This endpoint updates Catch All for a particular workspace.
PUT /openapi/v1/applications/{application_id}/catch_all
Parameters:
Attribute |
Type |
Description |
---|---|---|
version |
string |
Indicates the version of the workspace in which to update the policies. |
policy_action |
string |
Possible values can be ALLOW or DENY. Indicates whether traffic not matching any of the policies in this workspace will be allowed or dropped. |