Promote (move) package
packagecloud_promote_packageWRITE, DESTRUCTIVE: MOVE a package file to another repository (for example staging -> production). It no longer exists in the source repository afterwards, and its download statistics are cleared. Pass the promote_url of the package object and the destination as user/repo. POST {promote_url}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Only for a scoped Node.js package: the scope including the @, for example @example. | |
| destination | Yes | The destination repository as "user/repo" (it must already exist). | |
| promote_url | Yes | The promote_url of a package object, exactly as returned by the API (a /api/v1/repos/... path). |