Users

Deprecated

Get users list.

get

Return the list of users of the tenant.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
onlyCreatedByMebooleanOptional

Filter the returned entities to only those that created by the requesting subject

usersTypestringOptional

Available only when SSO enabled

Responses
get
/v1/k8s/users
Deprecated

Create a new user.

post

Create a new user and assign it with a password. It is possible to force the user to change the password upon next login by setting needToChangePassword to true. This endpoint requires ADMIN role. Deprecated endpoint. Use the new endpoint api/v1/users instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
emailstringRequired

Email address of the user.

Example: [email protected]
entityTypestring · enumOptional

The type of authentication entity.

Example: regular-userPossible values:
tenantIdinteger · int32Optional

The id of the tenant.

Example: 1001
passwordstringRequired

The user's password.

Example: secret!123
needToChangePasswordbooleanOptional

True if the user is requested to change his password upon next login.

Example: true
permitAllClustersbooleanOptionalExample: false
userIdstring · uuidOptional

Unique identifier of the user

Example: 4008188b-ab50-4aa5-a3f2-b78091ccf92d
permittedClustersstring · uuid[]Optional

The id of the cluster.

Example: 71f69d83-ba66-4822-adf5-55ce55efd210
Responses
post
/v1/k8s/users
Deprecated

Get user details.

get

Get the details of a given user. This endpoint requires ADMIN, EDITOR or VIEWER role. Deprecated endpoint. Use the new endpoint api/v1/users/{userId} instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
userIdstring · uuidRequired

Unique identifier of the user

Example: 4008188b-ab50-4aa5-a3f2-b78091ccf92d
Responses
get
/v1/k8s/users/{userId}
Deprecated

Update user details.

put

Update the details of a given user. This endpoint requires ADMIN role. Deprecated endpoint. Use the new endpoint api/v1/users/{userId} instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
userIdstring · uuidRequired

Unique identifier of the user

Example: 4008188b-ab50-4aa5-a3f2-b78091ccf92d
Body
and
anyOptional
and
Responses
put
/v1/k8s/users/{userId}
Deprecated

Delete a user.

delete

Delete the given user from the tenant. This endpoint requires ADMIN role. Deprecated endpoint. Use the new endpoint api/v1/users/{userId} instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
userIdstring · uuidRequired

Unique identifier of the user

Example: 4008188b-ab50-4aa5-a3f2-b78091ccf92d
Query parameters
usersTypestringOptional

Available only when SSO enabled

Responses
delete
/v1/k8s/users/{userId}

No content

Deprecated

Get all possible permissions.

get

Get the complete set of permissions that a tenant can grant to users and applications. Deprecated endpoint. please refer to Roles & Access rules API.

Authorizations
AuthorizationstringRequired

Bearer authentication

Responses
get
/v1/k8s/users/roles
Deprecated

Get user permissions.

get

Return the set of permissions granted to a given user. Deprecated endpoint. please reffer to Roles & Access rules API.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
userIdstring · uuidRequired

Unique identifier of the user

Example: 4008188b-ab50-4aa5-a3f2-b78091ccf92d
Responses
get
/v1/k8s/users/{userId}/roles
Deprecated

Get groups list.

get

Return the list of groups of the tenant. Deprecated endpoint. please reffer to Roles & Access rules API.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
onlyCreatedByMebooleanOptional

Filter the returned entities to only those that created by the requesting subject

Responses
get
/v1/k8s/groups
Deprecated

Create a new group.

post

Create a new group and assign it with roles. Deprecated endpoint. please reffer to Roles & Access rules API.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
usernamestringRequired

Group's name

Example: group1
emailstringRequired

Empty email address

entityTypestringOptionalExample: sso-user
tenantIdinteger · int32Optional

The id of the tenant.

Example: 1001
permitAllClustersbooleanOptionalExample: false
userIdstringOptional

Group's name

Example: group1
permittedClustersstring · uuid[]Optional

The id of the cluster.

Example: 71f69d83-ba66-4822-adf5-55ce55efd210
createdBystringOptional

uid of the user

Example: aaaaa-3333-4444-bbbbbb-111
Responses
post
/v1/k8s/groups
Deprecated

Get group details.

get

Get the details of a given group. This endpoint requires ADMIN, EDITOR or VIEWER role. Deprecated endpoint. please reffer to Roles & Access rules API.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
groupNamestring · stringRequired

Unique identifier of the group

Example: group1
Responses
get
/v1/k8s/groups/{groupName}
Deprecated

Update group details.

put

Update the details of a given group. This endpoint requires ADMIN role. Deprecated endpoint. please reffer to Roles & Access rules API.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
groupNamestring · stringRequired

Unique identifier of the group

Example: group1
Body
and
Responses
put
/v1/k8s/groups/{groupName}
Deprecated

Delete a group.

delete

Delete the given group from the tenant. This endpoint requires ADMIN role. Deprecated endpoint. please reffer to Roles & Access rules API.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
groupNamestring · stringRequired

Unique identifier of the group

Example: group1
Responses
delete
/v1/k8s/groups/{groupName}

No content

Get users.

get

Retrieve a list of platform users.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
filterstringOptionalDeprecated

Filter results by user attribute.

Example: runai.is_local:true
filterBystring[]Optional

Filter results by a parameter. Use the format field-name operator value. Operators are <= Less than or equal, >= Greater than or equal, =@ contains. Dates are in ISO 8601 timestamp format and available for operators <= and >=.

Example: ["username=@test,lastLogin>=2024-09-24T00:00:00.00Z,isLocal==false"]
sortBystring · enumOptional

Sort results by a parameters.

Possible values:
sortOrderstring · enumOptional

Sort results in descending or ascending order.

Default: ascPossible values:
offsetinteger · int32Optional

The offset of the first item returned in the collection.

Example: 100
limitinteger · int32 · min: 1 · max: 500Optional

The maximum number of entries to return.

Default: 500
Responses
get
/api/v1/users

Create a local user.

post

Use to create a local platform user.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
emailstringRequired
resetPasswordboolean · nullableOptional
Responses
chevron-right
201

Created successfully.

application/json
post
/api/v1/users

Count users

get

count users

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
filterBystring[]Optional

Filter results by a parameter. Use the format field-name operator value. Operators are <= Less than or equal, >= Greater than or equal, =@ contains. Dates are in ISO 8601 timestamp format and available for operators <= and >=.

Example: ["username=@test,lastLogin>=2024-09-24T00:00:00.00Z,isLocal==false"]
Responses
get
/api/v1/users/count

Logout a user.

post

Use to force a user to logout.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
userIdstringRequired

The id of the user

Responses
post
/api/v1/users/{userId}/logout

No content

Reset a user's password.

post

Use to to reset a user's password.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
userIdstringRequired

The id of the user

Responses
post
/api/v1/users/{userId}/password

Get a user by id.

get

Retrieve a user's details by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
userIdstringRequired

The id of the user

Responses
get
/api/v1/users/{userId}

Delete a user by id.

delete

Use to delete a user by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
userIdstringRequired

The id of the user

Responses
delete
/api/v1/users/{userId}

No content

change user password

post
Authorizations
AuthorizationstringRequired

Bearer authentication

Body
currentPasswordstringRequired
newPasswordstringRequired
Responses
post
/api/v1/me/password

Last updated