Change the name of the multimedia

This is how you can change the name of single multimedia via API.

The MultimediaPath scalar type represents a textual combination of MultimediaFolderPath, and MultimediaName joined with '/' Multimedia identifier pointing to its exact location. If the file is in the root folder you need to skip MultimediaFolderPath in path.

mutation {
  multimediaSetName(
    input: {
      path: "multimedia.jpg"
      name: "multimedia_2.jpg"
    }
  ) {
    __typename
  }
}

Last updated