patch Core V1Namespaced Secret
PATCH {{baseUrl}}/api/v1/namespaces/:namespace/secrets/:name?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>
partially update the specified Secret
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","data":"\u003cobject\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"reprehenderit nostrud sunt enim ullamco","creationTimestamp":"2012-11-22T10:11:23.003Z","deletionGracePeriodSeconds":1851584,"deletionTimestamp":"1998-04-04T01:36:45.488Z","finalizers":["culpa in","elit"],"generateName":"tempor quis in","generation":-46714260,"labels":{},"managedFields":[{"apiVersion":"et proident","fieldsType":"occaecat do id","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"officia dolore Lorem","operation":"Lorem ullamco nis","time":"2007-08-03T14:16:30.674Z"},{"apiVersion":"deserunt occaecat esse","fieldsType":"nisi ut consectetur","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"id Duis nostrud","operation":"sit sint id","time":"1955-02-01T05:37:10.137Z"}],"name":"dolor occaecat amet sit","namespace":"dolor pariatur","ownerReferences":[{"apiVersion":"nulla l","kind":"incididunt sint dolore dolore","name":"labore fugiat ut","uid":"ex sit sint","blockOwnerDeletion":true,"controller":false},{"apiVersion":"commodo ea","kind":"sunt","name":"anim","uid":"nostrud eiusmod","blockOwnerDeletion":false,"controller":true}],"resourceVersion":"qui Ut Lorem amet","selfLink":"aliqua fu","uid":"qui ad dolor Ut"},"stringData":"\u003cobject\u003e","type":"\u003cstring\u003e"}