Zum Hauptinhalt springen
PUT
/
crm
/
v3
/
lists
/
folders
/
move-list
Déplace une liste vers un dossier donné
curl --request PUT \
  --url https://api.hubapi.com/crm/v3/lists/folders/move-list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "listId": "<string>",
  "newFolderId": "<string>"
}'
This response has no body data.

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Starter
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Starter
Cette API requiert l'une des portées suivantes :
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.

Body

application/json
listId
string
required

L'identifiant de la liste à déplacer.

newFolderId
string
required

L'identifiant du dossier vers lequel déplacer la liste, l'identifiant du dossier racine est 0.