Skip to content

Docs

remove_source

Detach a source from its content item and delete it (a URL's fetched text and a note go with it; a media asset stays in the library). Content already written from it doesn't change.

Detach a source from its content item and delete it (a URL's fetched text and a note go with it; a media asset stays in the library). Content already written from it doesn't change.

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"
    },
    "sourceId": {
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "workspaceId",
    "sourceId"
  ],
  "type": "object"
}

Output schema

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

Errors

[]

Annotations

{
  "destructiveHint": true,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": false,
  "title": "Remove a source"
}