- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteApiKeysWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the deleteApiKeysWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow deletes one or more secret or publishable API keys. It's used by the Delete API Key Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to delete API keys within your custom flows.
Source CodeExamples#
Steps#
Input#
DeleteApiKeysWorkflowInput
DeleteApiKeysWorkflowInputThe data to delete API keys.
DeleteApiKeysWorkflowInput
DeleteApiKeysWorkflowInputids
string[]The IDs of the API keys to delete.
ids
string[]Was this page helpful?