Version
DESTRUCTIVE

archive_project

Archive a project by flipping active=false. Emits project.archived. Noop if already archived.

Archive a project — suspends new signups but preserves existing subscribers and data. Delegates to an Action so policy + cache invalidation run and project.archived fires. Noop when the project is already archived.

Requires ability

The token behind the MCP session must hold it, or the call is refused with TOKEN_MISSING_ABILITY.

Runs the same action as

The REST endpoint and this tool share one action, so validation, permissions and events are identical.

Fires one event

Delivered to every endpoint subscribed to it once the change is made.

Annotations

DestructiveIdempotentOpen world

A client that honours annotations asks a person before running it. Sending the same arguments twice changes nothing the second time. It reaches beyond Subscriby: a connector, a provider or a member.

Arguments

project_id*string

UUID of the project to archive.

What it returns

{  "data": {    "id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",    "active": false  }}

How it fails

RESOURCE_NOT_FOUND

unknown project_id, or the project belongs to a team outside the token's scope.

TOKEN_MISSING_ABILITY

token lacks project:update.

How is this guide?

Last updated on