Network Policy
POST /network-policy/rules
Changed onRequest
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body
Example request
{
"action": "allow",
"direction": "egress",
"peer_kind": "host",
"peer_ref": "registry.example.test",
"subject_kind": "sandbox"
}Response
Rule created
Example response
{
"action": "allow",
"direction": "egress",
"origin": "operator",
"peer_kind": "service",
"peer_ref": "12",
"protocol": "tcp",
"subject_kind": "sandbox"
}Changes
- breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status
1 more change in this revision
- breaking