revoke - API Key Module Reference
This documentation provides a reference to the revoke
method. This belongs to the API Key Module.
revoke(selector, data, sharedContext?): Promise<ApiKeyDTO[]>
This method revokes API keys based on the filters provided.
Example
Parameters
The filters to specify which API keys should be revoked.
The details of revoking the API keys.
Returns
The revoked API keys.
revoke(id, data, sharedContext?): Promise<ApiKeyDTO>
This method revokes an API key based on the ID provided.
Example
Parameters
id
stringRequiredThe ID of the API key to revoke.
The details of revoking the API key.
Returns
The revoked API key.
Was this section helpful?