Hello, is there an API endpoint available to dele...
# pactflow
w
Hello, is there an API endpoint available to delete 'the integration'? I found the piece of documentation where it states how to do it with the GUI and I wondered whether it may also be available using the API.
m
Yes there is. The same API the UI uses should work. I can dig it up when next at my computer but I think you can navigate the Ahal relations to the "integration" relation, and then just issue a delete to the integration you want to remove
w
Thanks Matt - for some reason I did not see "integration" in the HAL-Browser. facepalm animated Thanks a lot - no digging necessary. Have a great day :)
🙌 1
m
No worries, you're welcome!
y
Hey you can do something like this from your CLI
curl -v -X DELETE -H "Authorization: Bearer $PACT_BROKER_TOKEN" "<https://saflow.pactflow.io/integrations/provider/http-provider/consumer/http-consumer-1>"
👆🏼 1