hey - is there an api call to delete a particular ...
# pactflow
m
hey - is there an api call to delete a particular integration rather than all? I can see the DELETE option in api docs but it seems to only apply to all integrations
m
Yep. It’s not in our documentation (not all endpoints are for *_reasons*_). But it does exist: https://github.com/pact-foundation/pact_broker/blob/master/lib/pact_broker/api.rb#L152 So that translates to a
DELETE /integrations/provider/:provider/consumer/:consumer
m
nice ta - figured it is as it's triggered from the UI but not seen the docs 😄 couldn't trigger via UI as there were no contracts for the provider - but it was still showing in the app network which I wanted cleaned up (in case you're curious about the use case). Uploaded a dummy OAS as a workaround, but good to know the endpoint for it now