- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
removeUserAccountWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the removeUserAccountWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow deletes a user and remove the association to its auth identity. It's used by the Delete User Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to delete users within your custom flows.
Source CodeExamples#
Steps#
Input#
RemoveUserAccountWorkflowInput
RemoveUserAccountWorkflowInputThe data to remove a user account.
RemoveUserAccountWorkflowInput
RemoveUserAccountWorkflowInputuserId
stringThe ID of the user to remove.
userId
stringOutput#
string
string
string
stringstring
string
string
stringWas this page helpful?