# deleteInvitesStep - Medusa Core Workflows Reference

This documentation provides a reference to the `deleteInvitesStep`. It belongs to the `@medusajs/medusa/core-flows` package.

This step deletes one or more invites.

```ts title="src/workflows/my-workflow.ts"
import { createWorkflow } from "@medusajs/framework/workflows-sdk"
import { deleteInvitesStep } from "@medusajs/medusa/core-flows"

const myWorkflow = createWorkflow(
  "my-workflow",
  () => {
    const data = deleteInvitesStep([
      "{value}"
    ])
  }
)
```

## Input

- DeleteInvitesStepInput: (\[DeleteInvitesStepInput]\(../../../../types/core\_flows.DeleteInvitesStepInput/page.mdx)) The IDs of the invites to delete.

  - DeleteInvitesStepInput: (\`string\`\[]) The IDs of the invites to delete.


---

The best way to deploy Medusa is through Medusa Cloud where you get autoscaling production infrastructure fine tuned for Medusa. Create an account by signing up at cloud.medusajs.com/signup.
