---
title: "Update RUM replay playlist"
method: PUT
path: "/api/v2/rum/replay/playlists/{playlist_id}"
tags: ["Rum Replay Playlists"]
---

# Update RUM replay playlist

`PUT /api/v2/rum/replay/playlists/{playlist_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/rum/replay/playlists/{playlist_id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`

Update a playlist.

## Path parameters

- `playlist_id` integer, required

## Request body

- Playlist: A single RUM replay playlist resource returned by create, update, or get operations.
  - `data` PlaylistData, required: Data object representing a RUM replay playlist, including its identifier, type, and attributes.
    - `attributes` PlaylistDataAttributes: Attributes of a RUM replay playlist, including its name, description, session count, and audit timestamps.
      - `created_at` string, date-time: Timestamp when the playlist was created.
      - `created_by` PlaylistDataAttributesCreatedBy: Information about the user who created the playlist.
        - `handle` string, required: Email handle of the user who created the playlist.
        - `icon` string: URL or identifier of the user's avatar icon.
        - `id` string, required: Unique identifier of the user who created the playlist.
        - `name` string: Display name of the user who created the playlist.
        - `uuid` string, required: UUID of the user who created the playlist.
      - `description` string: Optional human-readable description of the playlist's purpose or contents.
      - `name` string, required: Human-readable name of the playlist.
      - `session_count` integer: Number of replay sessions in the playlist.
      - `updated_at` string, date-time: Timestamp when the playlist was last updated.
    - `id` string: Unique identifier of the playlist.
    - `type` 'rum_replay_playlist', required: Rum replay playlist resource type.

## Response `200`

OK

- Playlist: A single RUM replay playlist resource returned by create, update, or get operations.
  - `data` PlaylistData, required: Data object representing a RUM replay playlist, including its identifier, type, and attributes.
    - `attributes` PlaylistDataAttributes: Attributes of a RUM replay playlist, including its name, description, session count, and audit timestamps.
      - `created_at` string, date-time: Timestamp when the playlist was created.
      - `created_by` PlaylistDataAttributesCreatedBy: Information about the user who created the playlist.
        - `handle` string, required: Email handle of the user who created the playlist.
        - `icon` string: URL or identifier of the user's avatar icon.
        - `id` string, required: Unique identifier of the user who created the playlist.
        - `name` string: Display name of the user who created the playlist.
        - `uuid` string, required: UUID of the user who created the playlist.
      - `description` string: Optional human-readable description of the playlist's purpose or contents.
      - `name` string, required: Human-readable name of the playlist.
      - `session_count` integer: Number of replay sessions in the playlist.
      - `updated_at` string, date-time: Timestamp when the playlist was last updated.
    - `id` string: Unique identifier of the playlist.
    - `type` 'rum_replay_playlist', required: Rum replay playlist resource type.

## Other responses

- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
