patch Rbac Authorization V1beta1Cluster Role

PATCH {{baseUrl}}/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/:name?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>

partially update the specified ClusterRole

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;aggregationRule&quot;:{&quot;clusterRoleSelectors&quot;:[{&quot;matchExpressions&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;matchLabels&quot;:{}},{&quot;matchExpressions&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;matchLabels&quot;:{}}]},&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;u&quot;,&quot;creationTimestamp&quot;:&quot;1944-11-12T15:46:53.238Z&quot;,&quot;deletionGracePeriodSeconds&quot;:-24932497,&quot;deletionTimestamp&quot;:&quot;2020-08-30T19:52:38.198Z&quot;,&quot;finalizers&quot;:[&quot;proident&quot;,&quot;proident in co&quot;],&quot;generateName&quot;:&quot;magna reprehe&quot;,&quot;generation&quot;:-63197763,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;nisi nulla minim dolore&quot;,&quot;fieldsType&quot;:&quot;dolore irure aliquip ad incididunt&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;elit in ullamco&quot;,&quot;operation&quot;:&quot;pariatur ex nisi incididunt do&quot;,&quot;time&quot;:&quot;1996-07-24T16:27:26.124Z&quot;},{&quot;apiVersion&quot;:&quot;proident velit&quot;,&quot;fieldsType&quot;:&quot;anim&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;ex officia con&quot;,&quot;operation&quot;:&quot;sint proident enim fugiat sit&quot;,&quot;time&quot;:&quot;1996-07-02T22:13:51.501Z&quot;}],&quot;name&quot;:&quot;incididunt Lorem&quot;,&quot;namespace&quot;:&quot;Lorem anim aliquip&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;ut esse sunt&quot;,&quot;kind&quot;:&quot;Ut et sunt&quot;,&quot;name&quot;:&quot;et deserunt occaecat in&quot;,&quot;uid&quot;:&quot;est eiusmod in&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;ut exercitation labore deserunt&quot;,&quot;kind&quot;:&quot;eu ex&quot;,&quot;name&quot;:&quot;eiusmod laboris&quot;,&quot;uid&quot;:&quot;mollit voluptate tempor Ut&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:true}],&quot;resourceVersion&quot;:&quot;ullamco voluptate et sint&quot;,&quot;selfLink&quot;:&quot;deserunt quis aliquip&quot;,&quot;uid&quot;:&quot;velit pariatur sed in veniam&quot;},&quot;rules&quot;:[{&quot;verbs&quot;:[&quot;est&quot;,&quot;commodo ex deserunt quis&quot;],&quot;apiGroups&quot;:[&quot;non&quot;,&quot;labore cillum&quot;],&quot;nonResourceURLs&quot;:[&quot;velit&quot;,&quot;Duis dolore&quot;],&quot;resourceNames&quot;:[&quot;in in mollit dolor do&quot;,&quot;in dolor&quot;],&quot;resources&quot;:[&quot;nisi tempor quis id sit&quot;,&quot;in culpa ut pariatur&quot;]},{&quot;verbs&quot;:[&quot;magna su&quot;,&quot;ullamco dolore dolore officia non&quot;],&quot;apiGroups&quot;:[&quot;quis eu aliqua qui&quot;,&quot;Ut ea proident&quot;],&quot;nonResourceURLs&quot;:[&quot;veniam sunt tempor pariatur&quot;,&quot;consectetur&quot;],&quot;resourceNames&quot;:[&quot;Duis cillum pariatur in nostrud&quot;,&quot;ut Excepteur&quot;],&quot;resources&quot;:[&quot;sit sint&quot;,&quot;tempor voluptate eiusmod&quot;]}]}