# updateyoutubeplaylistitem: Update YouTube Playlist Item

> updateyoutubeplaylistitem (Update YouTube Playlist Item) is a 1001fx API function in the group YouTube: POST https://api.1001fx.com/youtube/updateyoutubeplaylistitem, 3 credits per call. It works in Make, n8n, scripts and AI agents as a plain HTTP call.

**Deprecated:** this function will be removed in a future release.

Modifies a playlist item. For example, you could update the items position in the playlist. If you are submitting an update request, and your request does not specify a value for a property that already has a value, the propertys existing value will be deleted.

- This service is provided by an external service provider: YouTube. The data of the call is sent to the provider. [More about service providers](https://1001fx.com/functions#serviceproviders)

- Group: YouTube
- Endpoint: `POST https://api.1001fx.com/youtube/updateyoutubeplaylistitem`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 3 credits per call
- Ready-made in: none, use an HTTP request
- Service provider: YouTube
- Docs: https://1001fx.com/functions/updateyoutubeplaylistitem

## Parameters

- `credentialKey` (string, required) – 1001fx Credential Key: Your 1001fx credential key. See https://1001fx.com/app/credentials/list
- `id` (string, required) – Playlist Item ID: Item ID of the item you want to update.
- `playlistId` (string, required) – Playlist ID: Your YouTube playlist ID.
- `videoId` (string, required) – Video ID: Video ID to add to the playlist.
- `position` (number, optional) – Position: The order in which the item appears in the playlist. The value uses a zero-based index. If no position is specified the resource will be added to the end of the playlist.
- `note` (string, optional) – Note: A user-generated note for this item. The property value has a maximum length of 280 characters.

## Example: Update YouTube Playlist Item

```bash
curl -X POST 'https://api.1001fx.com/youtube/updateyoutubeplaylistitem' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"credentialKey":"yourCredentialKey","id":"UExTTjQxZ2ozaXFPQXdUeUhrRmdYcWExZ21XT1NjajFfZS41NkI0NEY2RDEwNTU3Q0M2","playlistId":"PLSN41gj3iqOAwTyHkFgXqa1gmWOScj1_e","videoId":"D0s7dm_Of2A","position":1,"note":"My special note"}'
```
