Hi,
Couldn't find a specific example on the developer website, is it possible to refer to local "My Tokens" in a program that is cloned via API to assign a value to them in the newly cloned program or should this be done manually after it is cloned?
/Erik
Solved! Go to Solution.
Hi Erik,
Your question seems to read if it's possible to update a token via the API (yes, as seen here: http://developers.marketo.com/rest-api/assets/tokens/) but I wonder if you're asking if the token comes over as a part of the Clone API since it's not listed in the POST here: http://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#/Programs/cloneP...
From my testing, the Clone API invokes the normal clone functionality but without all the sub-assets. So yes, you could use the Clone API then Program Asset API to update/change the token.
Hi Erik,
Your question seems to read if it's possible to update a token via the API (yes, as seen here: http://developers.marketo.com/rest-api/assets/tokens/) but I wonder if you're asking if the token comes over as a part of the Clone API since it's not listed in the POST here: http://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#/Programs/cloneP...
From my testing, the Clone API invokes the normal clone functionality but without all the sub-assets. So yes, you could use the Clone API then Program Asset API to update/change the token.
Thanks Wyatt,
This should help