Skip to main content
PUT
/
crm
/
v3
/
lists
/
folders
/
{folderId}
/
rename
Cambiar el nombre de una carpeta
curl --request PUT \
  --url https://api.hubapi.com/crm/v3/lists/folders/{folderId}/rename \
  --header 'private-app: <api-key>'
{
  "folder": {
    "createdAt": "2023-11-07T05:31:56Z",
    "parentFolderId": "<string>",
    "childNodes": [
      {}
    ],
    "name": "<string>",
    "id": "<string>",
    "childLists": [
      123
    ],
    "updatedContentsAt": "2023-11-07T05:31:56Z",
    "userId": 123,
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Productos compatibles

Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing Hub -Starter
Sales HubSales Hub -Gratuito
Service HubService Hub -Gratuito
Content HubContent Hub -Starter
Esta API requiere uno de los siguientes ámbitos:
cms.membership.access_groups.write
crm.lists.read
crm.lists.read
crm.lists.write

Authorizations

private-app
string
header
required

Path Parameters

folderId
string
required

El ID de la carpeta a la que se cambiará el nombre

Query Parameters

newFolderName
string

El nuevo nombre de la carpeta.

Response

successful operation

folder
object
required