Skip to main content
Skip to main content

delete - API Key Module Reference

This documentation provides a reference to the delete method. This belongs to the API Key Module.

delete(ids, sharedContext?): Promise<void>

This method deletes API keys by their IDs.

Example

await apiKeyModuleService.delete(["apk_123"])

Parameters

idsstring[]Required
The IDs of the API keys.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the API keys are deleted successfully.

delete(id, sharedContext?): Promise<void>

This method deletes an API key by its ID.

Example

await apiKeyModuleService.delete("apk_123")

Parameters

idstringRequired
The ID of the API key.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the API key is deleted successfully.
Was this section helpful?