Advanced

Cancel an active import

Changed on

This allows a developer to cancel an active import.

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

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/crm/imports/2026-03/{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

  • 2026-035447829df914Revision changes
    • info

      the security scope crm.import was added to the endpoint's security scheme oauth2

    • info

      the security scope crm-import was removed from the endpoint's security scheme oauth2

  • 2026-034b50b73891f3Revision changes
    • info

      the endpoint scheme security app_cookie was removed from the API

    • info

      the endpoint scheme security hapikey was removed from the API

    • info

      the endpoint scheme security internal_cookie was removed from the API

    • info

      the endpoint scheme security shhkey was removed from the API