Delete build history via REST API

Hello

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 ?

Regards

1 comment
Comment actions Permalink

Hello,

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

0

Please sign in to leave a comment.