---
descriptions:
  pipes_delete_connected_account:
    user_id: 'A [User](/reference/authkit/user) identifier.'
    slug: 'The slug identifier of the provider (e.g., `github`, `slack`, `notion`).'
    organization_id: >-
      An [Organization](/reference/organization) identifier. Optional parameter
      if the connection is scoped to an organization.
reference:
  curl:
    - key: pipes_delete_connected_account
      id: pipes_delete_connected_account
      url: /reference/pipes/connected-account/delete
      title: '/user_management/users/:user_id/connected_accounts/:slug'
      type: DELETE
      parameters:
        - key: user_id
          type: string
          description: (pipes_delete_connected_account.user_id)
        - key: slug
          type: string
          description: (pipes_delete_connected_account.slug)
        - key: organization_id
          type: string
          description: (pipes_delete_connected_account.organization_id)
          optional: true
      returns: []
originalPath: >-
  .tmp-workos-clone/packages/docs/content/reference/pipes/connected-account/delete.mdx
---

## Delete a connected account

Disconnects WorkOS's account for the user, including removing any stored access and refresh tokens. The user will need to reauthorize if they want to reconnect.

This does not revoke access on the provider side. The user may need to disconnect the application directly from the provider's settings.

Returns a `204 No Content` response on success.

<CodeBlock referenceId="pipes_delete_connected_account">
  <CodeBlockTab title="Request" file="delete-request" />
</CodeBlock>
