Delete build history via REST API


I'm trying to clean-up the build history via TeamCity Rest API, as the actual clean-up system doesn't allow to delete the last build.
The problem is that I have over 100.000 builds to delete and I can't send 100.000 Delete request to server.

Is there a way to delete all the builds at once using one request ?


1 comment
Comment actions Permalink


At the moment it is not possible to delete multiple build using REST API. Please vote for the request: and for the related request:
Could you please describe your use case? Why do you need to delete all builds? Do you have over 100.000 build configurations?


Please sign in to leave a comment.