v1.UserIdentityMapping

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

    Create an UserIdentityMapping

    HTTP request

    1. Authorization: Bearer $TOKEN
    2. Accept: application/json
    3. Connection: close
    4. Content-Type: application/json'
    5. {
    6. "kind": "UserIdentityMapping",
    7. "apiVersion": "v1",
    8. ...
    9. }

    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/oapi/v1/useridentitymappings <<'EOF'
    8. {
    9. "kind": "UserIdentityMapping",
    10. "apiVersion": "v1",
    11. }
    12. EOF

    HTTP body

    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

    Read the specified UserIdentityMapping

    HTTP request

    Curl request

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

    Path parameters

    ParameterDescription

    name

    name of the UserIdentityMapping

    Query parameters

    ParameterDescription

    pretty

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

    Responses

    Consumes

    • */*

    Produces

    • application/yaml

    • application/vnd.kubernetes.protobuf

    Replace the specified UserIdentityMapping

    HTTP request

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

    Curl request

    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

    Partially update the specified UserIdentityMapping

    HTTP request

    1. PATCH /oapi/v1/useridentitymappings/$NAME HTTP/1.1
    2. Authorization: Bearer $TOKEN
    3. Accept: application/json
    4. Content-Type: application/json-patch+json'
    5. {
    6. ...
    7. }

    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/oapi/v1/useridentitymappings/$NAME <<'EOF'
    8. {
    9. ...
    10. }
    11. EOF

    HTTP body

    Path parameters

    ParameterDescription

    name

    name of the UserIdentityMapping

    Query parameters

    ParameterDescription

    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 an UserIdentityMapping

    HTTP request

    Curl request

    1. $ curl -k \
    2. -X DELETE \
    3. -H "Authorization: Bearer $TOKEN" \
    4. -H 'Accept: application/json' \

    Path parameters

    ParameterDescription

    name

    name of the UserIdentityMapping

    Query parameters

    Responses

    HTTP CodeSchema

    200 OK

    v1.Status

    401 Unauthorized

    Consumes

    • */*

    Produces

    • application/json

    • application/yaml