Return the list of users of the tenant.
The complete set of permissions.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
[- {
- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "email": "user@email.com",
- "lastLogin": "2021-12-14T16:04:15.099Z"
}
]
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.
The complete set of permissions.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "email": "user@email.com",
- "roles": [
- "viewer"
], - "entityType": "regular-user",
- "tenantId": 1001,
- "password": "secret!123",
- "needToChangePassword": true,
- "permitAllClusters": false,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
]
}
{- "email": "user@email.com",
- "roles": [
- "viewer"
], - "entityType": "regular-user",
- "tenantId": 1001,
- "password": "secret!123",
- "needToChangePassword": true,
- "permitAllClusters": false,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
]
}
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.
User details.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "email": "user@email.com",
- "lastLogin": "2021-12-14T16:04:15.099Z"
}
Update the details of a given user. This endpoint requires ADMIN role. Deprecated endpoint. Use the new endpoint api/v1/users/{userId} instead.
User updated successfully
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "email": "user@email.com",
- "lastLogin": "2021-12-14T16:04:15.099Z"
}
{- "entityType": "regular-user",
- "tenantId": 1001,
- "userId": "4008188b-ab50-4aa5-a3f2-b78091ccf92d",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdAt": "2021-12-14T16:04:15.099Z",
- "email": "user@email.com",
- "lastLogin": "2021-12-14T16:04:15.099Z"
}
Delete the given user from the tenant. This endpoint requires ADMIN role. Deprecated endpoint. Use the new endpoint api/v1/users/{userId} instead.
User deleted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Get the complete set of permissions that a tenant can grant to users and applications. Deprecated endpoint. please refer to Roles & Access rules API.
The complete set of permissions.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
[- "viewer"
]
Return the set of permissions granted to a given user. Deprecated endpoint. please reffer to Roles & Access rules API.
A set of permissions that the user is granted.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
[- "viewer"
]
Return the list of groups of the tenant. Deprecated endpoint. please reffer to Roles & Access rules API.
The complete set of permissions.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
[- {
- "entityType": "group",
- "tenantId": 1001,
- "userId": "group1",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdBy": "aaaaa-3333-4444-bbbbbb-111"
}
]
Create a new group and assign it with roles. Deprecated endpoint. please reffer to Roles & Access rules API.
The complete set of permissions.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "username": "group1",
- "email": "",
- "roles": [
- "viewer"
], - "entityType": "sso-user",
- "tenantId": 1001,
- "permitAllClusters": false,
- "userId": "group1",
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "createdBy": "aaaaa-3333-4444-bbbbbb-111"
}
{- "username": "group1",
- "email": "",
- "roles": [
- "viewer"
], - "entityType": "sso-user",
- "tenantId": 1001,
- "permitAllClusters": false,
- "userId": "group1",
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "createdBy": "aaaaa-3333-4444-bbbbbb-111"
}
Get the details of a given group. This endpoint requires ADMIN, EDITOR or VIEWER role. Deprecated endpoint. please reffer to Roles & Access rules API.
Group details.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "entityType": "group",
- "tenantId": 1001,
- "userId": "group1",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdBy": "aaaaa-3333-4444-bbbbbb-111"
}
Update the details of a given group. This endpoint requires ADMIN role. Deprecated endpoint. please reffer to Roles & Access rules API.
Group updated successfully
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "entityType": "group",
- "tenantId": 1001,
- "userId": "group1",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdBy": "aaaaa-3333-4444-bbbbbb-111",
- "username": "group1"
}
{- "entityType": "group",
- "tenantId": 1001,
- "userId": "group1",
- "permitAllClusters": false,
- "permittedClusters": [
- "71f69d83-ba66-4822-adf5-55ce55efd210"
], - "roles": [
- "viewer"
], - "createdBy": "aaaaa-3333-4444-bbbbbb-111"
}
Delete the given group from the tenant. This endpoint requires ADMIN role. Deprecated endpoint. please reffer to Roles & Access rules API.
Group deleted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Retrieve a list of platform users.
Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
[- {
- "id": "3434c-12323ab-4ce2ea6-b44fc-db344d",
- "username": "test@run.ai",
- "createdBy": "devops@run.ai",
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2022-01-01T00:00:00Z",
- "lastLogin": "2023-02-01T00:00:00Z",
- "isLocal": true,
- "groups": [
- "groupA",
- "groupB"
]
}
]
Use to create a local platform user.
Created successfully.
Bad request.
Unauthorized
Forbidden
The specified resource already exists
unexpected error
unexpected error
{- "email": "test@run.ai",
- "resetPassword": false
}
{- "id": "0eeaf222-e503-4f35-9d9c-c419816272e3",
- "username": "test@run.ai",
- "tempPassword": "asdasidjn9d"
}
count users
ok
Bad request.
Unauthorized
Forbidden
unexpected error
{- "count": 1
}
Use to force a user to logout.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Use to to reset a user's password.
Regenerated successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "tempPassword": "asdasidjn9d"
}
Retrieve a user's details by id.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "id": "3434c-12323ab-4ce2ea6-b44fc-db344d",
- "username": "test@run.ai",
- "createdBy": "devops@run.ai",
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2022-01-01T00:00:00Z",
- "lastLogin": "2023-02-01T00:00:00Z",
- "isLocal": true,
- "groups": [
- "groupA",
- "groupB"
]
}
Use to delete a user by id.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Password changed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "currentPassword": "Abcd!234",
- "newPassword": "Zxcv!567"
}
{- "tempPassword": "Abcd!234"
}