TeamCity REST API Reference 2023.05 Help

Cleanup

Clean-up Settings

Properties

Field

Data type

enabled

boolean

maxCleanupDuration

integer

daily

Daily

cron

Cron

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<cleanup enabled="true" maxCleanupDuration="123"> <daily hour="123" minute="123"/> <cron day="string" dayWeek="string" hour="string" minute="string" month="string"/> </cleanup>
{ "cron" : { "hour" : "hour", "month" : "month", "dayWeek" : "dayWeek", "day" : "day", "minute" : "minute" }, "daily" : { "hour" : 1, "minute" : 3 }, "maxCleanupDuration" : 1, "enabled" : true }
Last modified: 22 May 2023