hubPublish

discard the pending update to a published hub project

Requires the caller to be a workspace admin. Forwards the request to the configured Hub scoped to the {workspace}:{folder} source and returns the Hub's status code and raw response body. The published project is left untouched.

post/w/{workspace}/hub/projects/{slug}/discard_update

Path parameters

workspacestring required
slugstring required

hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)

Query parameters

folderstring required

workspace folder scoping the Hub publication: a workspace can publish one Hub project per folder and the Hub-side source key is {workspace}:{folder}

Response

raw Hub response body (status code is passed through from the Hub)

Changes