Early bird discounts live! Claim your offer
MemberPass Logo

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 — 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?

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