Skip to main content
POST
Clear saved edits in bulk

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Headers

X-As-User
string | null

Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token

Body

application/json

Filters for clearing saved tree edits. Empty means all active edits.

paths
string[] | null

Only clear edits at these paths. None = any path.

kinds
string[] | null

Only clear these edit kinds (content/rename/delete/add). None = any kind.

Response

Successful Response

cleared
integer
required