> ## Documentation Index
> Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

---
id: 39bd11ec-ddf5-4f7d-8c27-3f9e7fc9e2a6
---

# Cancel transfer

> Cancel an ongoing smart transfer in your HubSpot account. This endpoint allows you to stop a transfer process that is currently in progress. It requires the transfer ID and task IDs to identify which transfer to cancel. This operation does not return any content upon success.

> [accordion] Supported products

> [accordion] Required Scopes


## OpenAPI

````yaml specs/2027-03-beta/crm-smart-transfer-v2027-03-beta.json POST /crm/smart-transfer/2027-03-beta/transfers/cancel
openapi: 3.0.1
info:
  title: CRM Smart Transfer
  description: Basepom for all HubSpot Projects
  version: 2027-03-beta
  x-hubspot-product-tier-requirements:
    marketing: FREE
    sales: FREE
    service: FREE
    cms: FREE
    commerce: FREE
    crmHub: FREE
    dataHub: FREE
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Account
  - name: Audit
  - name: Markup
  - name: Transfer
  - name: Transfer Revert
paths:
  /crm/smart-transfer/2027-03-beta/transfers/cancel:
    post:
      tags:
        - Transfer
      summary: Cancel transfer
      description: >-
        Cancel an ongoing smart transfer in your HubSpot account. This endpoint
        allows you to stop a transfer process that is currently in progress. It
        requires the transfer ID and task IDs to identify which transfer to
        cancel. This operation does not return any content upon success.
      operationId: post-/crm/smart-transfer/2027-03-beta/transfers/cancel
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferTaskActionInput'
        required: true
      responses:
        '204':
          description: No content
          content: {}
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - crm.smart_transfer.transfer.write
components:
  schemas:
    TransferTaskActionInput:
      required:
        - taskIds
        - transferId
      type: object
      properties:
        taskIds:
          type: array
          description: >-
            An array of strings, each representing a unique identifier for a
            task associated with the transfer.
          items:
            type: string
        transferId:
          type: string
          description: >-
            A string representing the unique identifier of the transfer
            associated with the tasks.
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: The error category.
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Context about the error condition, represented as an object with
            additional properties.
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            A unique identifier for the request. Include this value with any
            error reports or support tickets. It is formatted as a UUID.
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: >-
            Further information about the error, represented as an array of
            ErrorDetail objects.
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            A map of link names to associated URIs containing documentation
            about the error or recommended remediation steps.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate.
          example: An error occurred
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error.
      example:
        message: Invalid input (details will vary based on the error)
        correlationId: aeb5f871-7f07-4993-9211-075dc63e7cbf
        category: VALIDATION_ERROR
        links:
          knowledge-base: https://www.hubspot.com/products/service/knowledge-base
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: The status code associated with the error detail.
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Context about the error condition, represented as an object with
            additional properties that are arrays of strings.
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: The name of the field or parameter in which the error was found.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate. This is a required property.
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error.
  responses:
    Error:
      description: An error occurred.
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.hubspot.com/oauth/authorize
          tokenUrl: https://api.hubapi.com/oauth/v1/token
          scopes:
            crm.smart_transfer.audit.read: ''
            crm.smart_transfer.audit.write: ''
            crm.smart_transfer.revert.read: ''
            crm.smart_transfer.revert.write: ''
            crm.smart_transfer.transfer.read: ''
            crm.smart_transfer.transfer.write: ''

````