@Generated public class AccountUsersAPI extends Object
Databricks recommends using SCIM provisioning to sync users and groups automatically from your identity provider to your Databricks account. SCIM streamlines onboarding a new employee or team by using your identity provider to create users and groups in Databricks account and give them the proper level of access. When a user leaves your organization or no longer needs access to Databricks account, admins can terminate the user in your identity provider and that user’s account will also be removed from Databricks account. This ensures a consistent offboarding process and prevents unauthorized users from accessing sensitive data.
Constructor and Description |
---|
AccountUsersAPI(AccountUsersService mock)
Constructor for mocks
|
AccountUsersAPI(ApiClient apiClient)
Regular-use constructor
|
Modifier and Type | Method and Description |
---|---|
User |
create(User request)
Create a new user.
|
void |
delete(DeleteAccountUserRequest request)
Delete a user.
|
void |
delete(String id) |
User |
get(GetAccountUserRequest request)
Get user details.
|
User |
get(String id) |
AccountUsersService |
impl() |
Iterable<User> |
list(ListAccountUsersRequest 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 AccountUsersAPI(ApiClient apiClient)
public AccountUsersAPI(AccountUsersService mock)
public User create(User request)
Creates a new user in the Databricks account. This new user will also be added to the Databricks account.
public void delete(String id)
public void delete(DeleteAccountUserRequest request)
Deletes a user. Deleting a user from a Databricks account also removes objects associated with the user.
public User get(GetAccountUserRequest request)
Gets information for a specific user in Databricks account.
public Iterable<User> list(ListAccountUsersRequest request)
Gets details for all the users associated with a Databricks account.
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 AccountUsersService impl()
Copyright © 2023. All rights reserved.