Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

replaceAsset():ReplaceAsset

Replace an existing Asset. Requires basic:write scope to be accessible and Asset permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of ReplaceAssetInput
assetId: ID!

Parent Asset Id.

fileId: ID!

Signed file Id returned in uploadFile.

skipFileMetadata: Boolean = false

Skip file's EXIF metadata. When true, it will ignore all file metadata contents.

Fields of ReplaceAsset

The newly created Asset processing job response.