Skip to content

ESPRMAdminUser

Defined in: src/ESPRMAdminUser.ts:11

Shell class for admin user management operations. Methods are added via prototype augmentation in methods/ESPRMAdminUser/*.

new ESPRMAdminUser(): ESPRMAdminUser

ESPRMAdminUser

createUser(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminUser/CreateUser.ts:22

Creates a new admin user in the deployment.

CreateAdminUserRequest

The admin user creation details.

Promise<ESPAPISuccessResponse>

A success response confirming user creation.


deleteUser(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminUser/DeleteUser.ts:22

Deletes an admin user from the deployment.

DeleteAdminUserParams

Parameters identifying the user to delete.

Promise<ESPAPISuccessResponse>

A success response confirming the deletion.


getUserNodeHistory(params): Promise<AdminUserNodeHistoryResponse>

Defined in: src/methods/ESPRMAdminUser/GetUserNodeHistory.ts:23

Paginated history of node associations for an end user (GET admin/user/nodes/history).

GetAdminUserNodeHistoryParams

user_id, num_records, optional start_id cursor.

Promise<AdminUserNodeHistoryResponse>


getUserNodes(params?): Promise<AdminUserNodesResponse>

Defined in: src/methods/ESPRMAdminUser/GetUserNodes.ts:26

Retrieves user–node associations (admin API).

Response shape depends on filters: e.g. with node_id, primary / secondary buckets typically include users (user_id, user_name) and total; with user_id / user_name, buckets may include nodes (node ID strings) instead.

GetAdminUserNodesParams

Optional query parameters to filter or paginate results.

Promise<AdminUserNodesResponse>

Association payload (see AdminUserNodesResponse).


getUsers(params?): Promise<GetAdminUsersResponse>

Defined in: src/methods/ESPRMAdminUser/GetUsers.ts:22

Retrieves a list of admin users, with optional filtering and pagination.

GetAdminUsersParams

Optional query parameters to filter or paginate results.

Promise<GetAdminUsersResponse>

The list of admin users matching the query.


getUserSummary(params): Promise<GetAdminUserSummaryResponse>

Defined in: src/methods/ESPRMAdminUser/GetUserSummary.ts:20

Retrieves active user summary from the provided start time.

GetAdminUserSummaryParams

Promise<GetAdminUserSummaryResponse>


updateUser(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminUser/UpdateUser.ts:22

Updates an existing admin user’s details.

UpdateAdminUserRequest

The admin user update details.

Promise<ESPAPISuccessResponse>

A success response confirming the update.