Error
A valid request URL is required to generate request examples{
"error": {
"code": "<string>",
"message": "<string>"
}
}Archive or delete log files, transaction entries in the database, and, optionally, files in the Send, Sent, and Received folders, for the specified workspaces and connectors.
Archive or delete log files, transaction entries in the database, and, optionally, files in the Send, Sent, and Received folders, for the specified workspaces and connectors.
POST
/
cleanup
Error
A valid request URL is required to generate request examples{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
authtoken_headerbasicauthtoken_query
Body
application/json
Whether to archive or delete files during cleanup. If not specified, the cleanup settings specified on the Settings > Advanced page are used.
Minimum age, in days, of the files to clean up. Files more recent than the specified age are not touched. If not specified, the cleanup settings specified on the Settings > Advanced page are used.
The Id of an individual workspace to clean up. If not provided, all workspaces are cleaned up.
The Id of a specific connector to clean up. If not set, all connectors in the applicable workspace(s) are cleaned up.
Response
The action result