activate_resource
Switch a project resource on so the plans that link it grant it again. Emits project.resource.updated when the switch flips.
Purpose
Turn a resource back on. The plans that link it never stopped linking it while it was off — switching off only stopped the bot offering and granting the channel or group — so switching on needs no re-linking: the plans grant it again from the next admission.
Runs the same Action the dashboard and the REST API use.
project.resource.updated emits once, carrying
changes.active from false to true, and only when the switch actually flips. Re-calling on a
resource that is already on is a no-op: the current row comes back and nothing emits.
Required ability
project-resource:update
Input schema
{
"type": "object",
"required": ["resource_id"],
"properties": {
"resource_id": {
"type": "string",
"description": "UUID of the resource to switch on."
}
}
}Output shape
{
"data": {
"id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6",
"project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
"kind": "telegram:channel",
"connector": "telegram",
"space": {
"id": "3c1f7a58-2b6e-4d90-8f41-6a2e9c5d7b10",
"external_id": "-1001234567890",
"title": "Research Channel"
},
"title": "Research Channel",
"description": null,
"active": true,
"created_at": "2026-05-18T10:05:00+00:00",
"updated_at": "2026-09-06T08:30:12+00:00"
}
}The full get_resource row, with active: true.
Example prompts
"Switch resource
b73c5f21-9d80-4a6e-8215-4f70ce13a9d6back on."
"Re-enable the Research Channel — the maintenance is done."
"Turn the VIP lounge resource on again for every plan that includes it."
Failure modes
VALIDATION_FAILED— the caller is a team member whose role lacks the team's resource-update permission.error.context.resourcecarries the refusal.RESOURCE_NOT_FOUND— unknownresource_id, a resource on another team's project, or one outside the token'sscope:project:allow-list.AUTHENTICATION_REQUIRED— no authenticated user on the request.TOKEN_MISSING_ABILITY— token lacksproject-resource:update.
Related
deactivate_resource— the other half of the switch.update_resource— change the title or description at the same time.get_resource- Resources API — the REST equivalent,
POST /projects/{project}/resources/{resource}/activate. - Resources — the dashboard walkthrough.
How is this guide?
update_coupon
Change one or more fields of a coupon code. Partial by design — anything omitted keeps its stored value. Emits coupon.updated.
create_resource
Create a manual project resource (PDF link, token, URL placeholder) on a project with a connected connector. Gated places are linked through their connector.