Genies
Genies
Delete a Genie
DELETE
Deletes a Genie, the access grants on it and its scheduled tasks.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
genie_id*stringThe Genie.
Format
uuidregion*RegionsRegion of the genie: besg (Europe) or usnv (United States)
Value in
"besg""usnv"OK
application/json- response
deleted_genie_id*Deleted Genie Idcurl -X DELETE 'https://api.stacksync.com/v1/workspaces/0/genies/497f6eca-6276-4993-bfeb-53cbbbba6f08?region=besg'{ "deleted_genie_id": "<deleted_genie_id>"}