Delete All Configuration in Kong Admin API

Hi,

I am creating Kong (1.1.2) configuration using Kong Admin APIs.
Now I would like to reset all the config before I deliver the next set of configuration.
What is the best way to do this? I know I can call individual APIs to remove route, service etc.
However is there any easier way to do this?
I cannot find single Admin APIs to this in Kong documentation:

There doesn’t exist an Admin API endpoint for this.

You can execute the following if you have access to the database:

kong migrations reset -y
kong migrations bootstrap

You can also use decK (Disclaimer: I’m the author), which performs Admin API calls to delete all the entities:

deck reset -f
1 Like

Thanks Harry, your solution is sound

However I went with removing individual components with Admin APIs due to some internal platform restrictions.