patch Coordination V1beta1Namespaced Lease

PATCH {{baseUrl}}/apis/coordination.k8s.io/v1beta1/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;sunt &quot;,&quot;creationTimestamp&quot;:&quot;1986-12-18T04:23:41.045Z&quot;,&quot;deletionGracePeriodSeconds&quot;:81692616,&quot;deletionTimestamp&quot;:&quot;1968-01-25T09:09:13.557Z&quot;,&quot;finalizers&quot;:[&quot;dolor veniam pariatur nisi&quot;,&quot;aute do&quot;],&quot;generateName&quot;:&quot;sint&quot;,&quot;generation&quot;:12193484,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;laborum veniam&quot;,&quot;fieldsType&quot;:&quot;enim&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;&quot;,&quot;operation&quot;:&quot;reprehenderit incididunt labore laborum&quot;,&quot;time&quot;:&quot;2014-01-14T07:22:03.670Z&quot;},{&quot;apiVersion&quot;:&quot;sint minim cupidatat&quot;,&quot;fieldsType&quot;:&quot;consequat&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;ipsum mollit&quot;,&quot;operation&quot;:&quot;esse cillum reprehenderit culpa&quot;,&quot;time&quot;:&quot;1993-02-06T11:07:45.743Z&quot;}],&quot;name&quot;:&quot;sint consequat laborum&quot;,&quot;namespace&quot;:&quot;laborum dolore voluptate ut&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;deserunt dolore anim&quot;,&quot;kind&quot;:&quot;mollit&quot;,&quot;name&quot;:&quot;et dolor&quot;,&quot;uid&quot;:&quot;do in&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;in aliqua Excepteur dolore&quot;,&quot;kind&quot;:&quot;cupidatat veniam labore&quot;,&quot;name&quot;:&quot;ut sed labore in&quot;,&quot;uid&quot;:&quot;Ut proident&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;sed velit aliquip&quot;,&quot;selfLink&quot;:&quot;non consectetur&quot;,&quot;uid&quot;:&quot;laborum&quot;},&quot;spec&quot;:{&quot;acquireTime&quot;:&quot;1977-01-27T07:40:02.628Z&quot;,&quot;holderIdentity&quot;:&quot;ullamco magna irure aute&quot;,&quot;leaseDurationSeconds&quot;:-18889443,&quot;leaseTransitions&quot;:-32180511,&quot;renewTime&quot;:&quot;1969-05-02T00:56:30.490Z&quot;}}