patch Core V1Namespaced Service Account

PATCH {{baseUrl}}/api/v1/namespaces/:namespace/serviceaccounts/:name?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>

partially update the specified ServiceAccount

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;automountServiceAccountToken&quot;:&quot;\u003cboolean\u003e&quot;,&quot;imagePullSecrets&quot;:[{&quot;name&quot;:&quot;in&quot;},{&quot;name&quot;:&quot;tempor&quot;}],&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;eiusmod eu&quot;,&quot;creationTimestamp&quot;:&quot;1969-08-16T01:32:14.606Z&quot;,&quot;deletionGracePeriodSeconds&quot;:26580569,&quot;deletionTimestamp&quot;:&quot;2005-06-10T13:44:13.859Z&quot;,&quot;finalizers&quot;:[&quot;mollit exercitation pariatur eu&quot;,&quot;sunt in&quot;],&quot;generateName&quot;:&quot;sit eiusmod exercitation Excepteur eu&quot;,&quot;generation&quot;:-54940758,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;enim tempor&quot;,&quot;fieldsType&quot;:&quot;magna laboris eiusmod&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;eu ullamco ex cupidatat&quot;,&quot;operation&quot;:&quot;qui labore ipsum &quot;,&quot;time&quot;:&quot;1998-08-30T08:34:48.280Z&quot;},{&quot;apiVersion&quot;:&quot;deserunt&quot;,&quot;fieldsType&quot;:&quot;Ut&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;aliqua&quot;,&quot;operation&quot;:&quot;dolor in&quot;,&quot;time&quot;:&quot;1986-03-27T02:52:28.164Z&quot;}],&quot;name&quot;:&quot;aute laboris ad&quot;,&quot;namespace&quot;:&quot;in in&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;non sunt &quot;,&quot;kind&quot;:&quot;aliqua aute nisi qui&quot;,&quot;name&quot;:&quot;sed mollit elit nostrud ut&quot;,&quot;uid&quot;:&quot;id ad enim&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:false},{&quot;apiVersion&quot;:&quot;eu&quot;,&quot;kind&quot;:&quot;tempor velit ipsum labore&quot;,&quot;name&quot;:&quot;ipsum dolore&quot;,&quot;uid&quot;:&quot;non consecte&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;anim in ad consectetur&quot;,&quot;selfLink&quot;:&quot;do minim incididunt elit dolor&quot;,&quot;uid&quot;:&quot;Ut Lorem non&quot;},&quot;secrets&quot;:[{&quot;apiVersion&quot;:&quot;Lorem&quot;,&quot;fieldPath&quot;:&quot;minim deserunt ea dolore sit&quot;,&quot;kind&quot;:&quot;sunt officia cillum&quot;,&quot;name&quot;:&quot;deseru&quot;,&quot;namespace&quot;:&quot;v&quot;,&quot;resourceVersion&quot;:&quot;sed et consectetur in&quot;,&quot;uid&quot;:&quot;&quot;},{&quot;apiVersion&quot;:&quot;qui eu dolore sunt&quot;,&quot;fieldPath&quot;:&quot;enim&quot;,&quot;kind&quot;:&quot;in aliqua sit&quot;,&quot;name&quot;:&quot;anim&quot;,&quot;namespace&quot;:&quot;exercitation culpa ex consequat&quot;,&quot;resourceVersion&quot;:&quot;laborum aliqua tempor consequat&quot;,&quot;uid&quot;:&quot;occaecat ut reprehenderit ea am&quot;}]}