patch Core V1Namespaced Config Map
PATCH {{baseUrl}}/api/v1/namespaces/:namespace/configmaps/:name?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>
partially update the specified ConfigMap
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dryRun | string | When 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 | |
fieldManager | string | fieldManager 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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | |
force | string | Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | |
pretty | string | If 'true', then the output is pretty printed. |
Request Body
<object>
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"apiVersion":"\u003cstring\u003e","binaryData":"\u003cobject\u003e","data":"\u003cobject\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"aliquip ex est ut","creationTimestamp":"2000-11-27T01:23:08.371Z","deletionGracePeriodSeconds":-35343152,"deletionTimestamp":"1951-04-21T17:25:17.393Z","finalizers":["incididunt pariatur et","eiusmod Excepteur"],"generateName":"esse","generation":89323747,"labels":{},"managedFields":[{"apiVersion":"aute officia nisi et consequat","fieldsType":"in minim Ut","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"laborum ut id","operation":"in dolore ad sunt","time":"1991-12-07T00:08:29.272Z"},{"apiVersion":"esse pariatur","fieldsType":"laborum nulla","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"dolore quis minim","operation":"voluptate aliqu","time":"1947-12-11T11:30:21.182Z"}],"name":"minim dolore deserunt labo","namespace":"velit commodo ipsum officia","ownerReferences":[{"apiVersion":"non sint","kind":"fugiat anim","name":"labore cillum","uid":"sint","blockOwnerDeletion":true,"controller":true},{"apiVersion":"nulla do","kind":"v","name":"laborum qui elit","uid":"laborum ea","blockOwnerDeletion":true,"controller":false}],"resourceVersion":"Ut deserunt labore proident","selfLink":"ex dolore aliqua","uid":"labore"}}