POST /oapi/v1/localresourceaccessreviews HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "LocalResourceAccessReview", "apiVersion": "v1", ... }
LocalResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec in a particular namespace
Expand or mouse-over a field for more information about it.
apiVersion:content:
Raw:isNonResourceURL:kind:namespace:path:resource:resourceAPIGroup:resourceAPIVersion:resourceName:verb:
Create a LocalResourceAccessReview
POST /oapi/v1/localresourceaccessreviews HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "LocalResourceAccessReview", "apiVersion": "v1", ... }
Create a LocalResourceAccessReview
POST /oapi/v1/namespaces/$NAMESPACE/localresourceaccessreviews HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "LocalResourceAccessReview", "apiVersion": "v1", ... }
$ curl -k \ -X POST \ -d @- \ -H "Authorization: Bearer $TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ https://$ENDPOINT/oapi/v1/namespaces/$NAMESPACE/localresourceaccessreviews <<'EOF' { "kind": "LocalResourceAccessReview", "apiVersion": "v1", ... } EOF