create Authorization V1beta1Self Subject Access Review

POST {{baseUrl}}/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews?dryRun=<string>&fieldManager=<string>&pretty=<string>

create a SelfSubjectAccessReview

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.
prettystringIf 'true', then the output is pretty printed.

Request Body

{"spec"=>{"nonResourceAttributes"=>{"path"=>"<string>", "verb"=>"<string>"}, "resourceAttributes"=>{"group"=>"<string>", "name"=>"<string>", "namespace"=>"<string>", "resource"=>"<string>", "subresource"=>"<string>", "verb"=>"<string>", "version"=>"<string>"}}, "apiVersion"=>"<string>", "kind"=>"<string>", "metadata"=>{"annotations"=>{}, "clusterName"=>"d", "creationTimestamp"=>"1980-09-29T21:54:45.151Z", "deletionGracePeriodSeconds"=>-99309533, "deletionTimestamp"=>"1973-04-01T23:31:08.495Z", "finalizers"=>["dolore dolor velit nostrud", "in qui adipisicing ea"], "generateName"=>"minim aliqua eu in", "generation"=>68203720, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"qui ipsum cillum", "fieldsType"=>"ullamco Ut exercitation laborum", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"sunt mollit commodo ex", "operation"=>"occaecat ex", "time"=>"1964-06-07T15:57:48.627Z"}, {"apiVersion"=>"et irure u", "fieldsType"=>"nisi cillum Duis proident nostrud", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"laborum", "operation"=>"sit deserunt Lorem reprehenderit", "time"=>"2012-10-28T15:00:51.626Z"}], "name"=>"veniam aliqua nostrud", "namespace"=>"incididunt cupidatat in sit ex", "ownerReferences"=>[{"apiVersion"=>"incididunt officia", "kind"=>"in reprehenderit sunt amet a", "name"=>"consequat incididunt quis Lorem ea", "uid"=>"pariatur veniam Ut", "blockOwnerDeletion"=>true, "controller"=>false}, {"apiVersion"=>"culpa officia mollit eiusmod", "kind"=>"dolore reprehenderit sunt", "name"=>"aliqua quis ad ", "uid"=>"tempor ea", "blockOwnerDeletion"=>true, "controller"=>false}], "resourceVersion"=>"labore Lorem sit", "selfLink"=>"quis adipisicing ea", "uid"=>"dolor irure eiusmod"}, "status"=>{"allowed"=>"<boolean>", "denied"=>"<boolean>", "evaluationError"=>"<string>", "reason"=>"<string>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;spec&quot;:{&quot;nonResourceAttributes&quot;:{&quot;path&quot;:&quot;\u003cstring\u003e&quot;,&quot;verb&quot;:&quot;\u003cstring\u003e&quot;},&quot;resourceAttributes&quot;:{&quot;group&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;namespace&quot;:&quot;\u003cstring\u003e&quot;,&quot;resource&quot;:&quot;\u003cstring\u003e&quot;,&quot;subresource&quot;:&quot;\u003cstring\u003e&quot;,&quot;verb&quot;:&quot;\u003cstring\u003e&quot;,&quot;version&quot;:&quot;\u003cstring\u003e&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;minim culpa&quot;,&quot;creationTimestamp&quot;:&quot;1982-06-11T09:03:50.269Z&quot;,&quot;deletionGracePeriodSeconds&quot;:-28604590,&quot;deletionTimestamp&quot;:&quot;2014-07-19T02:35:43.824Z&quot;,&quot;finalizers&quot;:[&quot;dolore est sint&quot;,&quot;minim non nisi&quot;],&quot;generateName&quot;:&quot;tempor dolor&quot;,&quot;generation&quot;:7408859,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;anim reprehenderit&quot;,&quot;fieldsType&quot;:&quot;proident consequat aliqua&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;nulla nisi&quot;,&quot;operation&quot;:&quot;Excepteur dolore c&quot;,&quot;time&quot;:&quot;1987-04-23T08:02:11.853Z&quot;},{&quot;apiVersion&quot;:&quot;do laboris&quot;,&quot;fieldsType&quot;:&quot;cupidatat in voluptate ex&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;laboris officia sit ea&quot;,&quot;operation&quot;:&quot;cons&quot;,&quot;time&quot;:&quot;2020-06-11T02:11:52.166Z&quot;}],&quot;name&quot;:&quot;ut anim&quot;,&quot;namespace&quot;:&quot;incididunt in irure&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;quis cillum in irure&quot;,&quot;kind&quot;:&quot;occaecat pariatur aute&quot;,&quot;name&quot;:&quot;qui mollit sunt laborum&quot;,&quot;uid&quot;:&quot;elit&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:false},{&quot;apiVersion&quot;:&quot;do culpa laborum dolor&quot;,&quot;kind&quot;:&quot;voluptate tempor consequat qui&quot;,&quot;name&quot;:&quot;ullamco deserunt Ut ea non&quot;,&quot;uid&quot;:&quot;ad eu et labore in&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:true}],&quot;resourceVersion&quot;:&quot;magna cupidatat non&quot;,&quot;selfLink&quot;:&quot;eu&quot;,&quot;uid&quot;:&quot;commodo enim labore&quot;},&quot;status&quot;:{&quot;allowed&quot;:&quot;\u003cboolean\u003e&quot;,&quot;denied&quot;:&quot;\u003cboolean\u003e&quot;,&quot;evaluationError&quot;:&quot;\u003cstring\u003e&quot;,&quot;reason&quot;:&quot;\u003cstring\u003e&quot;}}