Updated ID and added opts to post request

Updated 'id' to 'project_id' for consistency and added opts to post request on query groups