See Stacksync in action with a solution architect. Book a demo ↗
GeniesTasks

Genie tasks

Delete a Genie task

DELETE
/v1/workspaces/{workspace_id}/genies/{genie_id}/tasks/{scheduled_task_id}

Deletes a Genie task and its queued run.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

genie_id*string

The Genie.

Formatuuid
scheduled_task_id*string

The Genie task.

Formatuuid

Query Parameters

region*Regions

Region of the genie: besg (Europe) or usnv (United States)

Value in"besg""usnv"

Response Body

OK

application/json
  1. response
deleted_task_id*Deleted Task Id
Delete a Genie task
curl -X DELETE 'https://api.stacksync.com/v1/workspaces/0/genies/497f6eca-6276-4993-bfeb-53cbbbba6f08/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08?region=besg'
{  "deleted_task_id": "<deleted_task_id>"}