Chameleoon MAX · Assets
replaceAssetFile mutation
replaceAssetFile is a GraphQL mutation of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Replaces the asset's image with a new upload. Call it to change a logo or stamp without changing its reference. The old image is deleted.
- Requires the
company.writepermission, and for a company's asset also the company in your API key's legal-entity scope. - The upload follows the same rules and errors as in
createAsset.
Arguments
input:ReplaceAssetFileInput!· required
Returns
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.