AssetUpdateInput
Last edit: Oct 13, 2026
Attributes of an asset to change
type AssetUpdateInput {
cache_control: String
manually_managed: Boolean
metadata: HashObject
physical_file_path: String!
}
Fields
cache_control (String)
Cache-Control header served with the asset, for example max-age=315576000, public; stored in metadata
manually_managed (Boolean)
When true, pos-cli deploy and sync never overwrite or delete it and pos-cli pull skips it
metadata (HashObject)
Arbitrary JSON data stored with the asset, at most 3000 bytes; replaces the existing metadata
physical_file_path (String)
New path of the asset, for example assets/images/new_logo.png. When it
differs from the current one, the asset name is derived from it and the file
is moved to the new location in storage