Chameleoon MAX · Assets
updateAsset mutation
updateAsset 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.
Updates the asset's name or whether it is public. Call it to rename an asset or to publish it for e-mails.
- A field you omit keeps its value.
- Requires the
company.writepermission, and for a company's asset also the company in your API key's legal-entity scope. NOT_FOUNDwhen the asset does not exist or your API key cannot see it.VALIDATIONwith reasonNOT_PUBLISHABLEwhen you make a stamp public.
Arguments
input:UpdateAssetInput!· required
Returns
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.