CRM
cURL
curl --request PUT \ --url https://api.hubapi.com/crm/v3/lists/folders/{folderId}/rename \ --header 'Authorization: Bearer <token>'
{ "folder": { "childLists": [ 123 ], "childNodes": "<array>", "id": "<string>", "parentFolderId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "name": "<string>", "updatedAt": "2023-11-07T05:31:56Z", "updatedContentsAt": "2023-11-07T05:31:56Z", "userId": 123 } }
Renomeia o folderId fornecido com um novo nome.
Produtos suportados
Escopos Necessários
The access token received from the authorization server in the OAuth 2.0 flow.
O ID da pasta a ser renomeada
O novo nome da pasta.
successful operation
Mostrar atributos filhos