Skip to main content

MediaUpdateInput Input

Description​

Input fields for updating media metadata including title, alt text, and caption.

Declaration​

input MediaUpdateInput {
alt: String
caption: String
title: String
folder: String
}

Fields​

NameTypeDescription
altStringAlternative text for the media item, used for accessibility and SEO.
captionStringCaption or description text for the media item.
titleStringTitle or name of the media item.
folderStringFolder the media item belongs to. Pass an empty string or null to move it out of any folder.