Fix API request route in deploy scheme