Advanced

Cancel an active import

Changed on

This allows a developer to cancel an active import.

post/crm/imports/2026-09/{importId}/cancel

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/crm/imports/2026-09/{importId}/cancel
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: crm.import

Path parameters

importIdinteger required

The unique identifier of the import process to cancel. It must be an integer.

Response

successful operation

completedAtstring date-time required

The timestamp when the action was completed, in ISO 8601 format.

linksobject

A map of link names to associated URIs containing documentation about the error or recommended remediation steps

requestedAtstring date-time

The timestamp when the export request was made, in ISO 8601 format.

startedAtstring date-time required

The timestamp when the action was started, in ISO 8601 format.

status'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING' required

An enum representing the lifecycle state of the action.

Changes

    • info

      api operation id post-/crm/imports/2026-09/{importId}/cancel_cancel removed and replaced with post-/crm/imports/2026-09/{importId}/cancel_/crm/imports/v3/{importId}/cancel

    • info

      the endpoint scheme security private_apps was removed from the API