diff --git a/src/index.ts b/src/index.ts index 5421497..67737f7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,7 @@ async function stopDiscovery(uuid: string) { action: 'stop' }; const restRes = await restc.update( - `api/v2/projects/${projectId}/discoveries/${uuid}`, + `api/v2/projects/${projectId}/discoveries/${uuid}/lifecycle`, payload, options );