You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Clears the trash cans of spaces or the whole Confluence instance.
Clears the trash cans of the specified spaces. If no space key is provided, the trash cans of all spaces within the Confluence instance are cleared.
The service starts a long running task that covers all accessible, current spaces.
Parameters
The service provides the following parameters to control the histories to be cleaned.
spaceKeys
The list of comma-separate keys to the spaces to clear their trash cans. If not specified, all spaces are cleared.
Response
The response on a successful call is 202
with a Location
header information to find the started long running task.
If a space key does not point to a space or a space is not accessible for the user starting the service, this space key is skipped.
The response returns a 500
on any internal error.