Zum Hauptinhalt springen
PUT
/
crm
/
v3
/
lists
/
{listId}
/
memberships
/
remove
リストからレコードを削除
curl --request PUT \
  --url https://api.hubapi.com/crm/v3/lists/{listId}/memberships/remove \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  "<string>"
]'
{
  "recordIdsMissing": [
    "789"
  ],
  "recordIdsRemoved": [
    "123",
    "456"
  ]
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -Starter
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -Starter
この API には、次のいずれかのスコープが必要です。
cms.membership.access_groups.write
crm.lists.read
crm.lists.read
crm.lists.write

Authorizations

Authorization
string
header
required

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

Path Parameters

listId
string
required

「MANUAL」または「SNAPSHOT」リストのILS ID

Body

application/json · string[]

The IDs of the records to remove from the list.

The body is of type string[].

Response

Successful response

The IDs of the records that were added, removed, and/or found to be missing as a result of the membership update request.

recordIdsRemoved
string[]
required

リストから「削除」されたレコードのID。

recordsIdsAdded
string[]
required
recordIdsMissing
string[]
required

「欠落」していたため(例:ポータルに存在しなかった)、「追加」または「削除」されなかったレコードのID。