API referenceStructure Templates
Delete structure template
Permanently deletes the structure template. Cards already populated from it are not affected.
DELETE
bearerAuthheader
AuthorizationBearer <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*integerThe brand the request acts on. Every brand-scoped resource lives under its brand.
templateId*stringThe structure template id, from listStructureTemplates.
Length
1 <= lengthDelete structure template
application/json- response
deleted*stringThe template id that was deleted.
[key: string]?unknowncurl -X DELETE "https://example.com/v1/brands/0/structure-templates/string" \ -H "Authorization: Bearer koast_sk_..."{ "deleted": "string", "property1": null, "property2": null}Required scope: write. CLI: koast delete-structure-template, see Structure Templates commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.