patch Coordination V1Namespaced Lease

PATCH {{baseUrl}}/apis/coordination.k8s.io/v1/namespaces/:namespace/leases/:name?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>

partially update the specified Lease

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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
forcestringForce 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.
prettystringIf 'true', then the output is pretty printed.

Request Body

<object>

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;culpa officia fugiat&quot;,&quot;creationTimestamp&quot;:&quot;1958-02-22T02:47:10.656Z&quot;,&quot;deletionGracePeriodSeconds&quot;:88839153,&quot;deletionTimestamp&quot;:&quot;1990-03-18T23:39:48.038Z&quot;,&quot;finalizers&quot;:[&quot;minim ut proident mollit consectetu&quot;,&quot;Ut voluptate officia id&quot;],&quot;generateName&quot;:&quot;ex et ullamco proide&quot;,&quot;generation&quot;:27827656,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;exercitation sed in&quot;,&quot;fieldsType&quot;:&quot;ipsum labore sunt Duis dolore&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;in Duis nulla ut id&quot;,&quot;operation&quot;:&quot;ut et non qui reprehenderit&quot;,&quot;time&quot;:&quot;2013-06-23T05:11:14.963Z&quot;},{&quot;apiVersion&quot;:&quot;velit exercitation enim dolore&quot;,&quot;fieldsType&quot;:&quot;laboris dolore&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;laborum&quot;,&quot;operation&quot;:&quot;qui cupidatat&quot;,&quot;time&quot;:&quot;1948-10-17T00:36:57.782Z&quot;}],&quot;name&quot;:&quot;pariatur consequat&quot;,&quot;namespace&quot;:&quot;dolore sed culpa&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;ullamco elit eiusmod cupidatat&quot;,&quot;kind&quot;:&quot;ipsum&quot;,&quot;name&quot;:&quot;laborum ex&quot;,&quot;uid&quot;:&quot;Lorem fugiat nisi dolore dolor&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:false},{&quot;apiVersion&quot;:&quot;cupidatat voluptate nos&quot;,&quot;kind&quot;:&quot;voluptate consequat ipsum Lorem eu&quot;,&quot;name&quot;:&quot;Excepteur quis&quot;,&quot;uid&quot;:&quot;mollit deseru&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:true}],&quot;resourceVersion&quot;:&quot;sint aute&quot;,&quot;selfLink&quot;:&quot;laboris&quot;,&quot;uid&quot;:&quot;voluptate c&quot;},&quot;spec&quot;:{&quot;acquireTime&quot;:&quot;1967-03-03T15:24:09.790Z&quot;,&quot;holderIdentity&quot;:&quot;sed ullamco non do&quot;,&quot;leaseDurationSeconds&quot;:-82804740,&quot;leaseTransitions&quot;:80002639,&quot;renewTime&quot;:&quot;1943-04-21T02:12:48.238Z&quot;}}