メインコンテンツへスキップ
POST
/
payments-subscriptions
/
v1
/
subscriptions
/
crm
/
{objectId}
/
cancel
サブスクリプションをキャンセル
curl --request POST \
  --url https://api.hubapi.com/payments-subscriptions/v1/subscriptions/crm/{objectId}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "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 -無料ツール

承認

Authorization
string
header
必須

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

パスパラメータ

objectId
integer<int64>
必須

サブスクリプションCRM ID

レスポンス

default - */*
category
string
必須

The error category

correlationId
string<uuid>
必須

A unique identifier for the request. Include this value with any error reports or support tickets

:

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

message
string
必須

A human readable message describing the error along with remediation steps where appropriate

:

"An error occurred"

context
object

Context about the error condition

:

"{invalidPropertyName=[propertyValue], missingScopes=[scope1, scope2]}"

errors
object[]

further information about the error

A map of link names to associated URIs containing documentation about the error or recommended remediation steps

subCategory
string

A specific category that contains more specific detail about the error

Last modified on December 8, 2025