Promote script version
Make a version the one the script runs, which is also how you roll back to an older one. A draft stops being a draft.
post/api/scripts/{handle}/{host}/{slug}/versions/{versionId}/promote
Request
- Base URL: https://reduck.ai
- URL: https://reduck.ai/api/scripts/{handle}/{host}/{slug}/versions/{versionId}/promote
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
handlestring required
The owner a resource is addressed under: "@username" for a personal scope, or a bare slug for a project.
hoststring required
The site the script automates, as a hostname.
slugstring required
The script's unique identifier within its host, unique per owner.
versionIdstring uuid required
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.