Patch a Network Attachment Definition
PATCH/apis/k8s.cni.cncf.io/v1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/network-attachment-definitions/{name:[a-z0-9][a-z0-9\-]*}
Patch a NetworkAttachmentDefinition object.
Request
Path Parameters
name stringrequired
Name of the resource
namespace stringrequired
Object name and auth scope, such as for teams and projects
- application/json-patch+json
- application/merge-patch+json
Body
required
object
Body
required
object
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
config stringrequired
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"config": "string"
}
}
Unauthorized
- application/json
- Schema
Schema
string
Loading...