put https://{server}/api2/repos//history-limit/
Using this interface you can set the history storage period of a specified library.
Response
Using this interface you can set the history storage period of a specified library.
xxxxxxxxxx
curl --request PUT \
--url https://cloud.seafile.com/api2/repos/repo_id/history-limit/ \
--header 'accept: application/json' \
--header 'content-type: application/json'
Try It!
to start a request and see the response here! Or choose an example: