- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
upsertApiKeys - API Key Module Reference
This documentation provides a reference to the upsertApiKeys
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.
upsertApiKeys(data, sharedContext?): Promise<ApiKeyDTO[]>#
This method updates or creates API keys if they don't exist.
Example#
Parameters#
data
UpsertApiKeyDTO[]The attributes in the API keys that are created or updated.
data
UpsertApiKeyDTO[]Returns#
Promise
Promise<ApiKeyDTO[]>The created or updated API keys.
Promise
Promise<ApiKeyDTO[]>upsertApiKeys(data, sharedContext?): Promise<ApiKeyDTO>#
This method updates or creates an API key if it doesn't exist.
Example#
Parameters#
data
UpsertApiKeyDTOThe attributes in the API key that's created or updated.
data
UpsertApiKeyDTOReturns#
Promise
Promise<ApiKeyDTO>The created or updated API key.
Promise
Promise<ApiKeyDTO>Was this page helpful?