replace Networking V1Namespaced Network Policy

PUT {{baseUrl}}/apis/networking.k8s.io/v1/namespaces/:namespace/networkpolicies/:name?dryRun=nulla&fieldManager=nulla&pretty=nulla

replace the specified NetworkPolicy

Request Params

KeyDatatypeRequiredDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldManagerstringfieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
prettystringIf 'true', then the output is pretty printed.

Request Body

{"apiVersion"=>"qui elit officia ut", "kind"=>"qui dolore irure tempor id", "metadata"=>{"annotations"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "clusterName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "creationTimestamp"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "deletionGracePeriodSeconds"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "deletionTimestamp"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "finalizers"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "generateName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "generation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "labels"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "managedFields"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "namespace"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "ownerReferences"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "resourceVersion"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "selfLink"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "uid"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "spec"=>{"podSelector"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "egress"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "ingress"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "policyTypes"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;apiVersion&quot;:&quot;qui elit officia ut&quot;,&quot;kind&quot;:&quot;qui dolore irure tempor id&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;clusterName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;creationTimestamp&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;deletionGracePeriodSeconds&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;deletionTimestamp&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;finalizers&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;generateName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;generation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;labels&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;managedFields&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;name&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;namespace&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;ownerReferences&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;resourceVersion&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;selfLink&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;uid&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;spec&quot;:{&quot;podSelector&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;egress&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;ingress&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;policyTypes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}}