Rows

Permanently deletes rows

Changed on

Permanently deletes rows from the draft version of the table, given a set of row IDs. Maximum of 100 row IDs per call.

post/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/purge

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/purge
  • Auth
    • OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb.rows.write

Path parameters

tableIdOrNamestring required

The unique identifier or name of the HubDB table from which draft rows will be purged.

Request body

inputsstring[] required

An array of strings representing the batch input values. Each item in the array is a string.

Response

No content

Changes

    • info

      the security scope hubdb was added to the endpoint's security scheme oauth2

    • info

      the security scope hubdb.rows.write was removed from the endpoint's security scheme oauth2

  • 2026-03f907bc4f599cRevision changes
    • info

      the security scope hubdb.rows.write was added to the endpoint's security scheme oauth2

    • info

      the security scope hubdb-data-write was removed from the endpoint's security scheme oauth2