workspace

prune old versions of scripts, flows, apps, or resources

Changed on
post/w/{workspace}/workspaces/prune_versions

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/workspaces/prune_versions
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Request body

resource_type'scripts' | 'flows' | 'apps' | 'resources' required

Response

number of pruned versions

prunedinteger required

Changes