Zum Hauptinhalt springen
POST
/
marketing
/
v3
/
marketing-events
/
events
/
delete
外部IDによる複数のマーケティングイベントの削除
curl --request POST \
  --url https://api.hubapi.com/marketing/v3/marketing-events/events/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    {
      "externalAccountId": "<string>",
      "externalEventId": "<string>",
      "appId": 123
    }
  ]
}'
{
  "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"
  }
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -Starter
この API には、次のいずれかのスコープが必要です。
crm.objects.marketing_events.write

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
inputs
object[]
required

Response

default - */*

An error occurred.

correlationId
string<uuid>
required

リクエストの固有ID。エラーレポートまたはサポートチケットには必ずこの値を含めてください

Example:

"aeb5f871-7f07-4993-9211-075dc63e7cbf"

message
string
required

エラーと修正手順(該当する場合)を記した人間が理解できるメッセージ

Example:

"Invalid input (details will vary based on the error)"

category
string
required

エラーカテゴリー

Example:

"VALIDATION_ERROR"

subCategory
string

エラーに関するより具体的な詳細が含まれる特定のカテゴリー

context
object

エラー条件に関する状況

Example:

"{\"missingScopes\":[\"scope1\",\"scope2\"],\"invalidPropertyName\":[\"propertyValue\"]}"

エラーまたは推奨の修正手順に関するドキュメントが含まれる関連付けられたURIへのリンク名のひも付け

Example:

"{\"knowledge-base\":\"https://www.hubspot.com/products/service/knowledge-base\"}"

errors
object[]

エラーに関する詳細情報

I