User [v1]
/auth/v1/users
post create user
Request Body
Response
201User: OK
/auth/v1/users/{name}
get Fetch user info
Parameters
Authorization(in header):stringGiven Bearer token will use this as authorization for the API
Response
200User: OK
delete delete specific users
Parameters
Authorization(in header):stringGiven Bearer token will use this as authorization for the API
Response
204: OK
patch modify user's password and display-name
Parameters
Authorization(in header):stringGiven Bearer token will use this as authorization for the API
Response
201User: OK
User
apiVersion:stringAPIVersion 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
kind:stringKind 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: ObjectMetaObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
spec: UserSpecstatus: UserStatus
UserSpec
account:stringconnector_id:stringconnector_name:stringconnector_type:stringcontinuity_errors:integeremail:stringexpired: Expiredextra:objectgroups:[]stringids:[]UserIdis_admin:booleanis_disabled:booleanlast_login_time:stringmail:stringmobile:stringold_password:stringpassword:stringstate:stringusername:stringvalid:booleanwebhookType:stringwebhookUrl:string
Expired
begin:stringend:string
UserId
id:stringtype:string
UserStatus
Related APIs
API usage
These APIs do not use /kubernetes/{cluster} as a path prefix.
List users
Common list query parameters:
Get a specific user
{name} is the user resource name (metadata.name).
Request examples
List users:
Query a user by username:
Get a specific user:
Response examples
User list response snippet:
User detail response snippet: