- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateApiKeys - API Key Module Reference
This documentation provides a reference to the updateApiKeys
method. This belongs to the API Key Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
updateApiKeys(id, data, sharedContext?): Promise<ApiKeyDTO>#
This method updates an existing API key.
Example#
Parameters#
id
stringThe ID of the API key.
data
UpdateApiKeyDTOThe attributes to update in the API key.
data
UpdateApiKeyDTOReturns#
Promise
Promise<ApiKeyDTO>The updated API key.
Promise
Promise<ApiKeyDTO>updateApiKeys(selector, data, sharedContext?): Promise<ApiKeyDTO[]>#
This method updates existing API keys.
Example#
Parameters#
selector
FilterableApiKeyPropsThe filters that specify which API keys should be updated.
selector
FilterableApiKeyPropsdata
UpdateApiKeyDTOThe attributes to update in the API keys.
data
UpdateApiKeyDTOReturns#
Promise
Promise<ApiKeyDTO[]>The updated API keys.
Promise
Promise<ApiKeyDTO[]>Was this page helpful?