Hi friends! I'm trying to find a way to bulk delet...
# pactflow
m
Hi friends! I'm trying to find a way to bulk delete contracts for a pacticipant (consumer or provider), ideally something programmatic like an API endpoint that we can use in our current contract testing system to clear out old obsolete contracts. We would want to delete all contracts older than some given date. Is this possible? I see some documentation on deleting pacts but i don't see this documented in the current Pactflow API docs .
m
There’s no way to delete pacts after a certain date, but you can delete in other ways as you have noted. Any APIs in the OSS Pact Broker exist in PactFlow (Pact Broker is an upstream to PactFlow, so we have all the APIs + more)
Do note that we also run a clean process on your tenant. If you’d like us to be more aggressive, you can reach out via a support ticket and we can reduce TTLs etc.
🎉 1
thankyou 1
👀 1
m
i didn't realize you were already doing some cleaning for us. That's great and should probably suffice. Thank you! I will reach out to support if we need more nuance
🧡 1