Zum Hauptinhalt springen
PUT
/
crm
/
v3
/
lists
/
folders
/
{folderId}
/
rename
Einen Ordner umbenennen
curl --request PUT \
  --url https://api.hubapi.com/crm/v3/lists/folders/{folderId}/rename \
  --header 'Authorization: Bearer <token>'
{
  "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"
  }
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Starter
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Starter
Diese API erfordert einen der folgenden Bereiche:
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

folderId
string
required

Die ID des umzubenennenden Ordners

Query Parameters

newFolderName
string

Der neue Name des Ordners.

Response

successful operation

folder
object
required