data retention
Start a retention check
Starts a new retention check for the given user. If a retention check for this user is already active a 409 status code is returned
post/retention/users/{username}/check
Request
- Base URL/api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- Auth
- HTTP bearer
- or API key in header X-SFTPGO-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
[
{
"path": "/",
"retention": 24
}
]Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.