Fix API access

Forgotten sudo