sdkDeterministic

Delete content collection

pipeline.deleteContentCollection

Delete a collection and its memberships, preserving saved source posts and drafts.

Parameters

workspaceId
string
No description.
idrequired
string
No description.

Example

TypeScripttypescript
await pipeline.deleteContentCollection({
"id": "00000000-0000-4000-8000-000000000000"
})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"data": {
"type": "object"
}
}
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline