POST /oapi/v1/useridentitymappings HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "UserIdentityMapping", "apiVersion": "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 /oapi/v1/useridentitymappings HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "UserIdentityMapping", "apiVersion": "v1", ... }
$ curl -k \ -X POST \ -d @- \ -H "Authorization: Bearer $TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ https://$ENDPOINT/oapi/v1/useridentitymappings <<'EOF' { "kind": "UserIdentityMapping", "apiVersion": "v1", ... } EOF
Read the specified UserIdentityMapping
GET /oapi/v1/useridentitymappings/$NAME HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close
Replace the specified UserIdentityMapping
PUT /oapi/v1/useridentitymappings/$NAME HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close Content-Type: application/json' { "kind": "UserIdentityMapping", "apiVersion": "v1", ... }
$ curl -k \ -X PUT \ -d @- \ -H "Authorization: Bearer $TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ https://$ENDPOINT/oapi/v1/useridentitymappings/$NAME <<'EOF' { "kind": "UserIdentityMapping", "apiVersion": "v1", ... } EOF
Partially update the specified UserIdentityMapping
PATCH /oapi/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/oapi/v1/useridentitymappings/$NAME <<'EOF' { ... } EOF
Delete an UserIdentityMapping
DELETE /oapi/v1/useridentitymappings/$NAME HTTP/1.1 Authorization: Bearer $TOKEN Accept: application/json Connection: close