I think ```api=False``` unnecessary parameter here.
1. you use it [only once](https://github.com/Mirantis/fuelweb/pull/1207/files#L14R622) with True
2. I don't see here any logic for using this function in case when parameter api is set to False