@Generated public class UsersAPI extends Object
Databricks recommends using SCIM provisioning to sync users and groups automatically from your identity provider to your Databricks workspace. SCIM streamlines onboarding a new employee or team by using your identity provider to create users and groups in Databricks workspace and give them the proper level of access. When a user leaves your organization or no longer needs access to Databricks workspace, admins can terminate the user in your identity provider and that user’s account will also be removed from Databricks workspace. This ensures a consistent offboarding process and prevents unauthorized users from accessing sensitive data.
| Constructor and Description |
|---|
UsersAPI(ApiClient apiClient)
Regular-use constructor
|
UsersAPI(UsersService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
User |
create(User request)
Create a new user.
|
void |
delete(DeleteUserRequest request)
Delete a user.
|
void |
delete(String id) |
User |
get(GetUserRequest request)
Get user details.
|
User |
get(String id) |
UsersService |
impl() |
Iterable<User> |
list(ListUsersRequest request)
List users.
|
void |
patch(PartialUpdate request)
Update user details.
|
void |
patch(String id) |
void |
update(String id) |
void |
update(User request)
Replace a user.
|
public UsersAPI(ApiClient apiClient)
public UsersAPI(UsersService mock)
public User create(User request)
Creates a new user in the Databricks workspace. This new user will also be added to the Databricks account.
public void delete(String id)
public void delete(DeleteUserRequest request)
Deletes a user. Deleting a user from a Databricks workspace also removes objects associated with the user.
public User get(GetUserRequest request)
Gets information for a specific user in Databricks workspace.
public Iterable<User> list(ListUsersRequest request)
Gets details for all the users associated with a Databricks workspace.
public void patch(String id)
public void patch(PartialUpdate request)
Partially updates a user resource by applying the supplied operations on specific user attributes.
public void update(String id)
public void update(User request)
Replaces a user's information with the data supplied in request.
public UsersService impl()
Copyright © 2023. All rights reserved.