Skip to content

Update an installed copy to the template's latest version

POST
/v1/artifact-templates/installed/update
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.

Media typeapplication/json
object
artifact_id
required
string
confirm
boolean
Examplegenerated
{
"artifact_id": "example",
"confirm": true
}

{ applied: false, plan } or { applied: true, updated, added, version_no, setup }

Needs edit access to every artifact of the install