tenant_id fix for POST/PUT calls