Skip to main content

updatePlaylistName

Renames an existing custom playlist for the site and returns the stored name. Duplicate names may receive a copy suffix; use savePlaylist to change the filter as well. Requires recordings edit access.

updatePlaylistName(
site: Int!
playlist: Int!
name: String!
): String

Arguments​

updatePlaylistName.site ● Int! non-null scalar​

Site id from sites; the site must be accessible to the current viewer.

updatePlaylistName.playlist ● Int! non-null scalar​

Positive custom playlist id from playlistsList for this site; recommended ids are not accepted.

updatePlaylistName.name ● String! non-null scalar​

Non-blank playlist name, at most 255 characters; a collision may append a copy suffix.

Type​

String scalar​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.