This is a cache of https://docs.openshift.com/container-platform/4.5/rest_api/user_and_group_apis/useridentitymapping-user-openshift-io-v1.html. It is a snapshot of the page at 2024-11-21T00:21:49.684+0000.
<strong>user</strong>IdentityMapping [<strong>user</strong>.openshift.io/v1] - <strong>user</strong> and group APIs | API reference | OpenShift Container Platform 4.5
×

Specification

Property Type Description

.apiVersion

string

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

.identity

ObjectReference core/v1

Identity is a reference to an identity

.kind

string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

.metadata

ObjectMeta meta/v1

.user

ObjectReference core/v1

user is a reference to a user

API endpoints

The following API endpoints are available:

  • /apis/user.openshift.io/v1/useridentitymappings

    • POST: create an userIdentityMapping

  • /apis/user.openshift.io/v1/useridentitymappings/{name}

    • DELETE: delete an userIdentityMapping

    • GET: read the specified userIdentityMapping

    • PATCH: partially update the specified userIdentityMapping

    • PUT: replace the specified userIdentityMapping

/apis/user.openshift.io/v1/useridentitymappings

Table 1. Global guery parameters
Parameter Type Description

dryRun

string

When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

fieldManager

string

fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.

pretty

string

If 'true', then the output is pretty printed.

HTTP method

POST

Description

create an userIdentityMapping

Table 2. Body parameters
Parameter Type Description

body

userIdentityMapping user.openshift.io/v1

Table 3. HTTP responses
HTTP code Reponse body

200 - OK

userIdentityMapping user.openshift.io/v1

201 - Created

userIdentityMapping user.openshift.io/v1

202 - Accepted

userIdentityMapping user.openshift.io/v1

401 - Unauthorized

Empty

/apis/user.openshift.io/v1/useridentitymappings/{name}

Table 4. Global path parameters
Parameter Type Description

name

string

name of the userIdentityMapping

Table 5. Global guery parameters
Parameter Type Description

pretty

string

If 'true', then the output is pretty printed.

HTTP method

DELETE

Description

delete an userIdentityMapping

Table 6. Query parameters
Parameter Type Description

dryRun

string

When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

gracePeriodSeconds

integer

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

orphanDependents

boolean

Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.

propagationPolicy

string

Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.

Table 7. Body parameters
Parameter Type Description

body

DeleteOptions meta/v1

Table 8. HTTP responses
HTTP code Reponse body

200 - OK

Status meta/v1

202 - Accepted

Status meta/v1

401 - Unauthorized

Empty

HTTP method

GET

Description

read the specified userIdentityMapping

Table 9. HTTP responses
HTTP code Reponse body

200 - OK

userIdentityMapping user.openshift.io/v1

401 - Unauthorized

Empty

HTTP method

PATCH

Description

partially update the specified userIdentityMapping

Table 10. Query parameters
Parameter Type Description

dryRun

string

When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

fieldManager

string

fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

force

boolean

Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

Table 11. Body parameters
Parameter Type Description

body

Patch meta/v1

Table 12. HTTP responses
HTTP code Reponse body

200 - OK

userIdentityMapping user.openshift.io/v1

401 - Unauthorized

Empty

HTTP method

PUT

Description

replace the specified userIdentityMapping

Table 13. Query parameters
Parameter Type Description

dryRun

string

When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

fieldManager

string

fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.

Table 14. Body parameters
Parameter Type Description

body

userIdentityMapping user.openshift.io/v1

Table 15. HTTP responses
HTTP code Reponse body

200 - OK

userIdentityMapping user.openshift.io/v1

201 - Created

userIdentityMapping user.openshift.io/v1

401 - Unauthorized

Empty