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:
continue: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