v1.UserIdentityMapping

Description

UserIdentityMapping maps a user to an identity

Object Schema

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

  1. apiVersion:
  2. identity:
  3. apiVersion:
  4. fieldPath:
  5. kind:
  6. name:
  7. namespace:
  8. resourceVersion:
  9. uid:
  10. kind:
  11. metadata:
  12. annotations:
  13. [string]:
  14. clusterName:
  15. creationTimestamp:
  16. deletionGracePeriodSeconds:
  17. deletionTimestamp:
  18. finalizers:
  19. - [string]:
  20. generateName:
  21. generation:
  22. initializers:
  23. pending:
  24. - name:
  25. result:
  26. apiVersion:
  27. code:
  28. details:
  29. causes:
  30. - field:
  31. message:
  32. reason:
  33. group:
  34. kind:
  35. name:
  36. retryAfterSeconds:
  37. uid:
  38. kind:
  39. message:
  40. metadata:
  41. resourceVersion:
  42. selfLink:
  43. reason:
  44. status:
  45. labels:
  46. [string]:
  47. name:
  48. namespace:
  49. ownerReferences:
  50. - apiVersion:
  51. blockOwnerDeletion:
  52. controller:
  53. kind:
  54. name:
  55. uid:
  56. resourceVersion:
  57. selfLink:
  58. uid:
  59. user:
  60. apiVersion:
  61. fieldPath:
  62. kind:
  63. name:
  64. namespace:
  65. resourceVersion:
  66. uid:

Operations

Create a UserIdentityMapping

Create an UserIdentityMapping

HTTP request

  1. POST /apis/user.openshift.io/v1/useridentitymappings HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "UserIdentityMapping",
  8. "apiVersion": "user.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/user.openshift.io/v1/useridentitymappings <<'EOF'
  8. {
  9. "kind": "UserIdentityMapping",
  10. "apiVersion": "user.openshift.io/v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.UserIdentityMapping

Query parameters

ParameterDescription

pretty

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

Responses

HTTP CodeSchema

200 OK

v1.UserIdentityMapping

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Get a UserIdentityMapping

Read the specified UserIdentityMapping

HTTP request

  1. GET /apis/user.openshift.io/v1/useridentitymappings/$NAME HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/apis/user.openshift.io/v1/useridentitymappings/$NAME

Path parameters

ParameterDescription

name

name of the UserIdentityMapping

Query parameters

ParameterDescription

pretty

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

Responses

HTTP CodeSchema

200 OK

v1.UserIdentityMapping

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Update a UserIdentityMapping

Replace the specified UserIdentityMapping

HTTP request

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

Curl request

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

HTTP body

ParameterSchema

body

v1.UserIdentityMapping

Path parameters

ParameterDescription

name

name of the UserIdentityMapping

Query parameters

ParameterDescription

pretty

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

Responses

HTTP CodeSchema

200 OK

v1.UserIdentityMapping

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Patch a UserIdentityMapping

Partially update the specified UserIdentityMapping

HTTP request

  1. PATCH /apis/user.openshift.io/v1/useridentitymappings/$NAME HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json-patch+json'
  6. {
  7. ...
  8. }

Curl request

  1. $ curl -k \
  2. -X PATCH \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json-patch+json' \
  7. https://$ENDPOINT/apis/user.openshift.io/v1/useridentitymappings/$NAME <<'EOF'
  8. {
  9. ...
  10. }
  11. EOF

HTTP body

ParameterSchema

body

v1.Patch

Path parameters

ParameterDescription

name

name of the UserIdentityMapping

Query parameters

ParameterDescription

pretty

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

Responses

HTTP CodeSchema

200 OK

v1.UserIdentityMapping

401 Unauthorized

Consumes

  • application/json-patch+json

  • application/merge-patch+json

  • application/strategic-merge-patch+json

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Delete a UserIdentityMapping

Delete an UserIdentityMapping

HTTP request

  1. DELETE /apis/user.openshift.io/v1/useridentitymappings/$NAME HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -X DELETE \
  3. -H "Authorization: Bearer $TOKEN" \
  4. -H 'Accept: application/json' \
  5. https://$ENDPOINT/apis/user.openshift.io/v1/useridentitymappings/$NAME

Path parameters

ParameterDescription

name

name of the UserIdentityMapping

Query parameters

ParameterDescription

pretty

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

Responses

HTTP CodeSchema

200 OK

v1.Status

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf