# Update segment folder (legacy)

Update a segment folder. <br> <br> <br> *This endpoint is for Audience Studio legacy. For the latest Audience Studio, contact your Customer Success Representative.*

Endpoint: PATCH /audiences/{audienceId}/folders/{folderId}
Version: 1.0.0
Security: TdApikeyAuth

## Path parameters:

  - `audienceId` (integer, required)
    Master segment ID

  - `folderId` (integer, required)
    Segment folder to update

## Request fields (application/json):

  - `name` (string)

  - `description` (string)

## Response 200 fields (application/json):

  - `id` (string)

  - `audienceId` (string)
    ID of the parent audience. For composable folders this carries
the composable audience id; the complete-vs-composable
discriminator lives on the parent audience entity, not on the
folder.

  - `name` (string)

  - `description` (string)

  - `createdAt` (string)

  - `updatedAt` (string)

  - `createdBy` (any)

  - `createdBy.id` (string)

  - `createdBy.td_user_id` (string)

  - `createdBy.name` (string)

  - `createdBy.thisKeyNeverHit` (string)

  - `updatedBy` (any)

