POST /apis/user.openshift.io/v1/useridentitymappings HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "userIdentityMapping", "apiVersion": "user.openshift.io/v1", ... }
Expand or mouse-over a field for more information about it.
apiVersion:identity:
apiVersion:fieldPath:kind:name:namespace:resourceVersion:uid:kind:metadata:
annotations:
[string]:clusterName:creationTimestamp:deletionGracePeriodSeconds:deletionTimestamp:finalizers:
- [string]:generateName:generation:initializers:
pending:
- name:result:
apiVersion:code:details:
causes:
- field:message:reason:group:kind:name:retryAfterSeconds:uid:kind:message:metadata:
resourceVersion:selfLink:reason:status:labels:
[string]:name:namespace:ownerReferences:
- apiVersion:blockOwnerDeletion:controller:kind:name:uid:resourceVersion:selfLink:uid:user:
apiVersion:fieldPath:kind:name:namespace:resourceVersion:uid:
Create an userIdentityMapping
POST /apis/user.openshift.io/v1/useridentitymappings HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "userIdentityMapping", "apiVersion": "user.openshift.io/v1", ... }
$ curl -k \ -X POST \ -d @- \ -H "Authorization: Bearer $TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ https://$ENDPOINT/apis/user.openshift.io/v1/useridentitymappings <<'EOF' { "kind": "userIdentityMapping", "apiVersion": "user.openshift.io/v1", ... } EOF
Read the specified userIdentityMapping
GET /apis/user.openshift.io/v1/useridentitymappings/$NAME HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close
Replace the specified userIdentityMapping
PUT /apis/user.openshift.io/v1/useridentitymappings/$NAME HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "userIdentityMapping", "apiVersion": "user.openshift.io/v1", ... }
$ curl -k \ -X PUT \ -d @- \ -H "Authorization: Bearer $TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ https://$ENDPOINT/apis/user.openshift.io/v1/useridentitymappings/$NAME <<'EOF' { "kind": "userIdentityMapping", "apiVersion": "user.openshift.io/v1", ... } EOF
Partially update the specified userIdentityMapping
PATCH /apis/user.openshift.io/v1/useridentitymappings/$NAME HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json-patch+json' { ... }
$ curl -k \ -X PATCH \ -d @- \ -H "Authorization: Bearer $TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json-patch+json' \ https://$ENDPOINT/apis/user.openshift.io/v1/useridentitymappings/$NAME <<'EOF' { ... } EOF
Delete an userIdentityMapping
DELETE /apis/user.openshift.io/v1/useridentitymappings/$NAME HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close