ves-io-schema-k8s_pod_security_policy-API-Delete

Examples of deleting k8spodsecurity_policy

Usecase:

Delete reviews-k8spodsecurity_policy from current namespace

Request using vesctl:

vesctl configuration delete k8s_pod_security_policy pod-security-policy-1 --namespace system

Request using curl:

CURL-REQUEST:

curl -X 'DELETE' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/k8s_pod_security_policys/pod-security-policy-1'