patch Rbac Authorization V1Namespaced Role

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

partially update the specified Role

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;dolor non amet nisi cul&quot;,&quot;creationTimestamp&quot;:&quot;1969-11-19T11:20:39.092Z&quot;,&quot;deletionGracePeriodSeconds&quot;:-55272292,&quot;deletionTimestamp&quot;:&quot;1988-11-04T16:20:13.329Z&quot;,&quot;finalizers&quot;:[&quot;et velit in quis in&quot;,&quot;laboris anim amet consequat&quot;],&quot;generateName&quot;:&quot;elit quis&quot;,&quot;generation&quot;:55882813,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;commodo dolor&quot;,&quot;fieldsType&quot;:&quot;ullamco commodo&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;cupidatat&quot;,&quot;operation&quot;:&quot;labore sed commodo aliqua&quot;,&quot;time&quot;:&quot;1954-04-13T16:06:14.653Z&quot;},{&quot;apiVersion&quot;:&quot;cillum et&quot;,&quot;fieldsType&quot;:&quot;laboris aliqua magna id&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;pariatur est eu&quot;,&quot;operation&quot;:&quot;dolor sit voluptate&quot;,&quot;time&quot;:&quot;1985-07-27T09:34:26.146Z&quot;}],&quot;name&quot;:&quot;irure minim Lorem consectetur&quot;,&quot;namespace&quot;:&quot;culpa&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;elit nisi&quot;,&quot;kind&quot;:&quot;nostrud dolore in sit&quot;,&quot;name&quot;:&quot;veniam Duis adipisici&quot;,&quot;uid&quot;:&quot;incididunt&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:false},{&quot;apiVersion&quot;:&quot;quis u&quot;,&quot;kind&quot;:&quot;ullamco dolor reprehenderit&quot;,&quot;name&quot;:&quot;et aliquip&quot;,&quot;uid&quot;:&quot;consectetur anim voluptate cillum aliqua&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:true}],&quot;resourceVersion&quot;:&quot;minim commodo eiusmod ut&quot;,&quot;selfLink&quot;:&quot;anim minim reprehenderit irure&quot;,&quot;uid&quot;:&quot;do consec&quot;},&quot;rules&quot;:[{&quot;verbs&quot;:[&quot;velit&quot;,&quot;id quis m&quot;],&quot;apiGroups&quot;:[&quot;proident aute eu ullamco&quot;,&quot;eu qui aute&quot;],&quot;nonResourceURLs&quot;:[&quot;consequat magna&quot;,&quot;elit&quot;],&quot;resourceNames&quot;:[&quot;Duis commodo&quot;,&quot;dolor&quot;],&quot;resources&quot;:[&quot;occaecat&quot;,&quot;aliqua ut occaecat&quot;]},{&quot;verbs&quot;:[&quot;ipsum ut&quot;,&quot;quis esse est ea&quot;],&quot;apiGroups&quot;:[&quot;voluptate sit ut&quot;,&quot;et magna cillum nisi cupidatat&quot;],&quot;nonResourceURLs&quot;:[&quot;in dolor laborum&quot;,&quot;qui nisi minim&quot;],&quot;resourceNames&quot;:[&quot;nulla in dolor&quot;,&quot;ad&quot;],&quot;resources&quot;:[&quot;proident sit&quot;,&quot;adipisicing eu ullamco reprehenderit fugiat&quot;]}]}