create Authorization V1beta1Namespaced Local Subject Access Review

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

create a LocalSubjectAccessReview

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"=>{"extra"=>"<object>", "group"=>["<string>", "<string>"], "nonResourceAttributes"=>{"path"=>"<string>", "verb"=>"<string>"}, "resourceAttributes"=>{"group"=>"<string>", "name"=>"<string>", "namespace"=>"<string>", "resource"=>"<string>", "subresource"=>"<string>", "verb"=>"<string>", "version"=>"<string>"}, "uid"=>"<string>", "user"=>"<string>"}, "apiVersion"=>"<string>", "kind"=>"<string>", "metadata"=>{"annotations"=>{}, "clusterName"=>"aute", "creationTimestamp"=>"1977-12-07T11:40:48.132Z", "deletionGracePeriodSeconds"=>38176614, "deletionTimestamp"=>"1945-11-04T06:46:07.025Z", "finalizers"=>["est enim qui", "commodo non"], "generateName"=>"in est", "generation"=>-95984936, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"sed Lorem fugiat cupidatat", "fieldsType"=>"ex magna officia", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"nostrud cupidatat ullamco", "operation"=>"Excepteur aliquip ullamco reprehenderit eiusmod", "time"=>"1950-03-29T02:10:54.029Z"}, {"apiVersion"=>"Ut cillum Duis eu", "fieldsType"=>"occaecat sed aliqua dolor", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"officia aliqua", "operation"=>"aute adipisicing", "time"=>"2014-08-08T04:44:40.357Z"}], "name"=>"nisi eu do pariatur", "namespace"=>"sed reprehenderit irure", "ownerReferences"=>[{"apiVersion"=>"nulla sed non exercitation", "kind"=>"eu labore proident in", "name"=>"deserunt laboris consequat", "uid"=>"Lorem qui irure", "blockOwnerDeletion"=>true, "controller"=>false}, {"apiVersion"=>"nostrud voluptate", "kind"=>"eu ea elit nostrud", "name"=>"eiusmod ad sunt occaecat voluptate", "uid"=>"elit amet anim", "blockOwnerDeletion"=>true, "controller"=>true}], "resourceVersion"=>"reprehenderit cillum est incididunt", "selfLink"=>"aute est fugiat proident", "uid"=>"sit commodo dolore laborum"}, "status"=>{"allowed"=>"<boolean>", "denied"=>"<boolean>", "evaluationError"=>"<string>", "reason"=>"<string>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;spec&quot;:{&quot;extra&quot;:&quot;\u003cobject\u003e&quot;,&quot;group&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&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;uid&quot;:&quot;\u003cstring\u003e&quot;,&quot;user&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;Ut adipisicing enim consectetur&quot;,&quot;creationTimestamp&quot;:&quot;1955-04-26T07:43:07.382Z&quot;,&quot;deletionGracePeriodSeconds&quot;:41157663,&quot;deletionTimestamp&quot;:&quot;2004-07-31T16:39:17.862Z&quot;,&quot;finalizers&quot;:[&quot;incididunt anim&quot;,&quot;occaecat laboris&quot;],&quot;generateName&quot;:&quot;est dolor&quot;,&quot;generation&quot;:-26357717,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;consectetur&quot;,&quot;fieldsType&quot;:&quot;aute irure&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;commodo minim incididunt proident ea&quot;,&quot;operation&quot;:&quot;tempor do cupidatat Lorem&quot;,&quot;time&quot;:&quot;1964-05-07T05:26:21.885Z&quot;},{&quot;apiVersion&quot;:&quot;exercitation tempor commodo dolore&quot;,&quot;fieldsType&quot;:&quot;officia irure laboris elit&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;esse dolor exercitation consectetur&quot;,&quot;operation&quot;:&quot;ea ut mollit pariatur&quot;,&quot;time&quot;:&quot;2018-03-15T16:02:32.448Z&quot;}],&quot;name&quot;:&quot;ea culpa quis enim&quot;,&quot;namespace&quot;:&quot;nisi dolo&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;mollit aute consectetur&quot;,&quot;kind&quot;:&quot;Lorem ut proident&quot;,&quot;name&quot;:&quot;commodo officia amet&quot;,&quot;uid&quot;:&quot;&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:false},{&quot;apiVersion&quot;:&quot;veniam&quot;,&quot;kind&quot;:&quot;cupidatat&quot;,&quot;name&quot;:&quot;aliquip sit&quot;,&quot;uid&quot;:&quot;dolore nisi cupidatat&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;proident reprehenderit amet&quot;,&quot;selfLink&quot;:&quot;irure c&quot;,&quot;uid&quot;:&quot;exercitation labore est&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;}}