archive_project
Archive a project by flipping active=false. Emits project.archived. Noop if already archived.
Purpose
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.
Required ability
project:update
Input schema
{
"type": "object",
"required": ["project_id"],
"properties": {
"project_id": {
"type": "string",
"description": "UUID of the project to archive."
}
}
}Output shape
{
"data": {
"id": "prj_01HX...",
"active": false
}
}Example prompts
"Archive project
prj_01HX...."
"Deactivate my Research Premium project temporarily."
Failure modes
RESOURCE_NOT_FOUND— unknownproject_id, or the project belongs to a team outside the token's scope.TOKEN_MISSING_ABILITY— token lacksproject:update.
Related
update_project— flipactive: trueto restore.get_project- Projects API
How is this guide?