Remove permissions and API key