Early bird discounts live! Claim your offer
MemberPass Logo

unlink_resource

Clear the Telegram chat_id from a resource, reverting it to an unlinked placeholder the creator can relink from the bot.

Purpose

Clear the Telegram chat_id from a resource, reverting it to an unlinked placeholder row the creator can relink from the bot. Delegates to an Action so a project.resource.unlinked event fires. No-op if the resource is already unlinked.

Required ability

project-resource:update

Input schema

{
  "type": "object",
  "required": ["resource_id"],
  "properties": {
    "resource_id": {
      "type": "string",
      "description": "UUID of the resource to unlink."
    }
  }
}

Output shape

{
  "data": {
    "id": "rsc_01HX...",
    "project_id": "prj_01HX...",
    "type": "channel",
    "title": "Research Channel",
    "chat_id": null,
    "active": true
  }
}

Example prompts

"Unlink the Telegram chat from resource rsc_01HX...."

"Break the chat link so I can re-attach a different channel."

Failure modes

  • RESOURCE_NOT_FOUND — unknown resource_id, or the parent project is outside the token's scope.
  • TOKEN_MISSING_ABILITY — token lacks project-resource:update.

How is this guide?

On this page

MemberPass is a product designed by you — for you.

No boardroom full of executives deciding what we ships next. Our roadmap always shaped by you with your feedback.

Share feedback or a request