Skip to main content
POST
Upload a plug
Uploads a plug package as the multipart part file. This is the call that collabase-plug publish makes. The instance checks the package in the sandbox and installs it as the active version of its name. When another version of the name is already active, the new one waits until you confirm it. See Publish and versions.
Scope automation:write. The token owner must be a system administrator.
Add the form field confirmUpgrade=true to switch to the new version at once:
state is PENDING_CONFIRMATION when another version is active and the upload did not confirm; replaces then names that version. A system administrator confirms it with POST /api/admin/automation/plugs/{name}/activate and the body { "version": "0.3.0" }, or by uploading again with --confirm-upgrade. The answer is 202. A package over 20 MB answers 413, a file that is not a package or whose licences are not allowed 422, and a token of someone who is not a system administrator 403.
Last modified on October 27, 2026