export default async function deleteScopeService(db, { jobId, siteId, id }) {
  const collectionPath = siteId
    ? `/sites/${siteId}/services`
    : `/jobs/${jobId}/services`;
  const service = await db.delete(collectionPath, id);
  return service;
}
