add api_key to delete method