v1.ResourceAccessReview

You are viewing documentation for a release that is no longer supported. The latest supported version of version 3 is [3.11]. For the most recent version 4, see [4]

You are viewing documentation for a release that is no longer supported. The latest supported version of version 3 is [3.11]. For the most recent version 4, see [4]

Description

ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec

Object Schema

Expand or mouse-over a field for more information about it.

  1. apiVersion:
  2. content:
  3. Raw:
  4. isNonResourceURL:
  5. kind:
  6. namespace:
  7. path:
  8. resource:
  9. resourceAPIGroup:
  10. resourceAPIVersion:
  11. resourceName:
  12. verb:

Operations

Create a ResourceAccessReview

Create a ResourceAccessReview

HTTP request

  1. POST /apis/authorization.openshift.io/v1/resourceaccessreviews HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "ResourceAccessReview",
  8. "apiVersion": "authorization.openshift.io/v1",
  9. ...
  10. }

Curl request

  1. $ curl -k \
  2. -X POST \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. https://$ENDPOINT/apis/authorization.openshift.io/v1/resourceaccessreviews <<'EOF'
  8. {
  9. "kind": "ResourceAccessReview",
  10. "apiVersion": "authorization.openshift.io/v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.ResourceAccessReview

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.ResourceAccessReview

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf