Automations

Delete Automation

DELETE
/v1/automations/{id}

Authorization

Bearer
headerAuthorizationBearer <op_>

Workspace API key, sent as Authorization: Bearer op_... Keys are created in the dashboard.

Path Parameters

id*string
Length1 <= length

Response Body

Deleted

Example Request
import { Configuration, AutomationsApi } from "@onepostly/sdk";const automationsApi = new AutomationsApi(  new Configuration({ accessToken: process.env.ONEPOSTLY_API_KEY }));const response = await automationsApi.deleteAutomation({  id: "aut_4b8e2f6a1c9d4e37a5b02c8f6d1e9a33",});console.log(response);
Example Response
Empty