Update an installed copy to the template's latest version
POST
/v1/artifact-templates/installed/update
const url = 'https://shareout.site/v1/artifact-templates/installed/update';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"artifact_id":"example","confirm":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shareout.site/v1/artifact-templates/installed/update \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "artifact_id": "example", "confirm": true }'Without confirm returns the plan (files that change per artifact). With confirm true each artifact of the install gets a new version (source template); earlier versions stay in history and data is not touched.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
artifact_id
required
string
confirm
boolean
Examplegenerated
{ "artifact_id": "example", "confirm": true}Responses
Section titled “Responses”{ applied: false, plan } or { applied: true, updated, added, version_no, setup }
Needs edit access to every artifact of the install
