API referenceWorkflows

Delete workflow

Permanently deletes the workflow.

DELETE
/v1/brands/{brandId}/workflows/{workflowId}
bearerAuth
headerAuthorizationBearer <token>

An organization API key (koast_sk_…) with the API surface enabled, or an OAuth access token issued by Koast (koast_at_…) whose audience covers this API. REST access requires an active Agency plan.

brandId*integer

The brand the request acts on. Every brand-scoped resource lives under its brand.

workflowId*string
Match^[1-9]\d*$
Length1 <= length

Response Body

Delete workflow

application/json
  1. response
workflowId*string
[key: string]?unknown
curl -X DELETE "https://example.com/v1/brands/0/workflows/string" \  -H "Authorization: Bearer koast_sk_..."
{  "workflowId": "string",  "property1": null,  "property2": null}

Required scope: write. CLI: koast delete-workflow, see Workflows commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.