Add enable api option to configurations