Skip to content

Docs

delete_template

Delete a content template. Content already created from it stays exactly as it is.

Delete a content template. Content already created from it stays exactly as it is.

Access and cost

  • Kind: mutation
  • Scope: workspace
  • Actors: member, agent
  • Credits: Free
  • Requires confirmation: false
  • Accepts idempotency key: false

Input schema

{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "templateId": {
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "workspaceId",
    "templateId"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "deleted": {
      "const": true,
      "type": "boolean"
    },
    "templateId": {
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "deleted",
    "templateId"
  ],
  "type": "object"
}

Errors

[]

Annotations

{
  "destructiveHint": true,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": false,
  "title": "Delete a template"
}