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": [
{
"appId": 123,
"externalAccountId": "<string>",
"externalEventId": "<string>"
}
]
}
'{
"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"
}
}externalAccountId、externalEventId、appIdに基づいて複数のマーケティングイベントを削除します。
削除されるのは、同じアプリで作成されたマーケティングイベントのみです。他のアプリからのイベントは、このエンドポイントによって削除できません。
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": [
{
"appId": 123,
"externalAccountId": "<string>",
"externalEventId": "<string>"
}
]
}
'{
"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"
}
}サポートされる製品
必須スコープ
The access token received from the authorization server in the OAuth 2.0 flow.
表示 子属性
エラーカテゴリー
リクエストの固有ID。エラー報告またはサポートチケットには必ずこの値を含めてください
"aeb5f871-7f07-4993-9211-075dc63e7cbf"
エラーと修正手順(該当する場合)を記した人間が理解できるメッセージ
"An error occurred"
エラー条件に関する状況
表示 子属性
"{invalidPropertyName=[propertyValue], missingScopes=[scope1, scope2]}"
エラーに関する詳細情報
表示 子属性
エラーまたは推奨の修正手順に関するドキュメントが含まれる関連付けられたURIへのリンク名の対応付け
表示 子属性
エラーに関するより具体的な詳細が含まれる特定のカテゴリー