# updateyoutubevideo: Update YouTube Video

> updateyoutubevideo (Update YouTube Video) is a 1001fx API function in the group YouTube: POST https://api.1001fx.com/youtube/updateyoutubevideo, 5 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.

Updates a videos metadata. 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/updateyoutubevideo`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 5 credits per call
- Ready-made in: none, use an HTTP request
- Service provider: YouTube
- Docs: https://1001fx.com/functions/updateyoutubevideo

## Parameters

- `credentialKey` (string, required) – 1001fx Credential Key: Your 1001fx credential key. See https://1001fx.com/app/credentials/list
- `id` (string, required) – Video ID: Your YouTube video ID.
- `title` (string, required) – Video Title: Title for your video.
- `categoryId` (string, required) – Video Category ID: Youtube Category ID. See https://1001fx.com/functions/youtube/listyoutubevideocategories.
- `defaultLanguage` (string, optional) – Default Language: The language of the text in the video resources snippet.title and snippet.description properties.
- `description` (string, optional) – Video Description: Description for your video
- `tags` (array<string>, optional) – Tags: A list of keyword tags associated with the video. Tags may contain spaces.
- `embeddable` (boolean, optional, default `true`) – Embeddable: This value indicates if the video can be embedded on another website. Defaults to true.
- `privacyStatus` (enum, optional, one of `private`, `public`, `unlisted`, default `private`) – Privacy Status: Privacy status of your video.
- `publicStatsViewable` (boolean, optional, default `true`) – Public Statistics Viewable: This value indicates whether the extended video statistics on the videos watch page are publicly viewable. Defaults to true.
- `publishAt` (string (DD.MM.YYYY), optional) – Publish At: The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private. Your date needs to be in one of the following formats DD.MM.YYYY, DD.MM.YY, DD.MM.YYYY HH:mm, DD.MM.YY HH:mm, MM-DD-YYYY, MM-DD-YYYY HH:mm, MM-DD-YY, MM-DD-YY HH:mm.
- `localizations` (array<object>, optional) – Localizations: The localizations object encapsulates translations of the videos metadata.
  - `key` (string, required) – Localization Key: The language of the localized text associated with the key value. The value is a string that contains a BCP-47 language code. See https://1001fx.com/functions/listyoutubei18nlanguages.
  - `title` (string, required) – Title: The localized video title.
  - `description` (string, optional) – Description: The localized video description.
