For the complete documentation index, see llms.txt. This page is also available as Markdown.

DeleteContact

Deletes a contact in HubSpot.

Task version: 1.2.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

ContactId : String

The unique Id of the contact to delete.

Default: - Example: 1234567890

Name
Description

🗝ApiKey : String

HubSpot Private App access token.

Default: - Example: xxx-xxx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

BaseUrl : String

Base URL for the API.

Default: - Example: https://api.hubapi.com.

Name
Description

HardDelete : Boolean

Optional. If true, performs a hard delete. Default is false.

Default: False Example: true

ThrowErrorOnFailure : Boolean

Whether to throw an error on failure. True by default.

Default: True Example: false

ErrorMessageOnFailure : String

Overrides the error message on failure.

Default: - Example: Failed to delete contact.

Task Result

Name
Description

Success : Boolean

Indicates whether the deletion was successful. Example: true

Error : Error

Error that occurred during task execution. Example: object { string Message, object { Exception Exception } AdditionalInfo }

Task Changelog

Changelog for Task Frends.HubSpot.DeleteContact.

[1.2.0] - 2026-08-06

Changed

  • Updated copyright information to meet compliance requirements.

[1.1.0] - 2025-09-24

Fixed

  • Update ContactId DisplayFormat

[1.0.0] - 2025-07-28

Added

  • Initial implementation

Last updated

Was this helpful?