delete_resource
Hard-delete a project resource. Emits project.resource.deleted before the row disappears so listeners see the snapshot.
Purpose
Hard-delete a project resource by UUID. Delegates to an Action that emits project.resource.deleted with the row snapshot before the delete executes so downstream listeners capture the final state. Scoped to the caller's team.
Required ability
project-resource:delete
Input schema
{
"type": "object",
"required": ["resource_id"],
"properties": {
"resource_id": {
"type": "string",
"description": "UUID of the resource to delete."
}
}
}Output shape
{
"data": {
"resource_id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6",
"deleted": true
}
}Example prompts
"Delete resource
b73c5f21-9d80-4a6e-8215-4f70ce13a9d6."
"Remove the Onboarding PDF resource from my project."
Failure modes
RESOURCE_NOT_FOUND— unknownresource_id, or the parent project is outside the token's scope.TOKEN_MISSING_ABILITY— token lacksproject-resource:delete.
Related
unlink_resource— clear a connector link without deleting the row.list_resources- Resources API
How is this guide?
deactivate_resource
Switch a project resource off without touching the plans that sell it. Reversible with activate_resource. Emits project.resource.updated when the switch flips.
get_resource
Fetch a single project resource by UUID. Returns its kind, connector, the place it is bound to, title, description, switch and timestamps.