Skip to content

ESPRMAdminKey

Defined in: src/ESPRMAdminKey.ts:11

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

new ESPRMAdminKey(): ESPRMAdminKey

ESPRMAdminKey

createKey(params): Promise<CreateKeyResponse>

Defined in: src/methods/ESPRMAdminKey/CreateKey.ts:27

Creates a new admin key with the specified name and configuration.

CreateKeyRequest

The key name and optional configuration for the new key.

Promise<CreateKeyResponse>

The created key details including the key ID.


getKeys(params?): Promise<GetKeysResponse>

Defined in: src/methods/ESPRMAdminKey/GetKeys.ts:21

Retrieves the list of admin keys with optional filtering and pagination.

GetKeysParams

Optional query parameters to filter keys.

Promise<GetKeysResponse>

Paginated key list and next cursor when applicable.