mirror of
https://github.com/warmbly/warmbly.git
synced 2026-10-27 08:02:27 +00:00
11 lines
314 B
TypeScript
11 lines
314 B
TypeScript
import Request from "../../Request";
|
|
|
|
// Deletes a saved source (org-scoped). Backend returns 204 No Content.
|
|
export default async function deleteSource(id: string): Promise<void> {
|
|
await Request<void>({
|
|
method: "DELETE",
|
|
url: `/lead-sync/sources/${id}`,
|
|
authorization: true,
|
|
});
|
|
}
|