Cancel requested prunes for a selection of a project's assets
Cancels every waiting prune in the selection. Assets with nothing waiting are returned in `notCancelled`. Requires `canPruneAsset` on the project.
Cancels every waiting prune in the selection. Assets with nothing
waiting are returned in notCancelled. Requires canPruneAsset on the
project.
OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.
In: header
Scope: assets:write
Path Parameters
The ID of the project.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Assets to act on: ids, paths in the project's creator tree (a folder includes everything inside it), or both. At most 500 assets after folders are expanded.
Response Body
application/json
curl -X POST "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/original-pruning/cancel" \ -H "Content-Type: application/json" \ -d '{}'{ "cancelled": [ "e59a419b-6c3d-4e56-babe-ef10c7fefda5" ], "notCancelled": [ "4569174c-7691-4bf7-a78a-62a0bfe8c74e" ], "notFound": [ "a5c27a1b-02ef-4e29-a68c-d7626bfb5eb1" ]}