Zum Inhalt
Für Agenten

drive_link_revoke

Revoke Share Link

Markdown Tools als JSON

Beschreibung

Marks the link as revoked. The public URL immediately returns 410 Gone. Reversible — call drive_link_save with the same id and no revoke bit (there's no restore MCP shortcut yet; use the in-app UI or send a follow-up save call).

Zugriff

Zugriffsprofil: gated. Module: files. Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.

Parameter

Name Typ Pflicht Beschreibung
account_id string Ja
id string Ja

Eingabeschema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "account_id": {
      "type": "string"
    },
    "id": {
      "type": "string"
    }
  },
  "required": [
    "account_id",
    "id"
  ],
  "type": "object"
}

Ausgabeschema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "id": {
      "type": "string"
    },
    "revoked": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "revoked"
  ],
  "type": "object"
}
Seiten