Clone, Update Backend, and Activate
A 3-step recipe with Fastly. We can help you get access.
Recipe · 3 steps
Clone, Update Backend, and Activate
with Fastly
Clone a version, repoint a backend, and activate the clone.
- Clone the supplied version into a new editable draft version.
- Repoint the named backend on the cloned version to the new address.
- Activate the cloned version so the new backend address goes live.
What you'll need to have ready
- apiToken: The Fastly API token used to authenticate requests.
- serviceId: The alphanumeric identifier of the service.
- versionId: The version number to clone.
- backendName: The name of the existing backend to update.
- backendAddress: The new hostname or IP address for the backend.
For your developer
Arazzo workflow fastly:clone-update-backend-activate, 3 operations: cloneServiceVersion → updateBackend → activateServiceVersion. Specs on APIs.io.