封存專案
Management key required. 永久封存專案並移除專案成員;預設專案不能封存。
Management key required. Use a Management API Key (mgmt-...) for your Team, created by a Team Owner. Requests use the Team associated with that key.
No request body. Default projects cannot be archived (400). Repeating an archive returns the archived project. Removes project memberships and invalidates pending join requests atomically, preserving billing history. Project keys become unusable without changing their explicit enabled state. Archived projects remain readable but cannot receive new keys or budget updates. There is no restore endpoint.
Authorization
ManagementKeyBearer Management key required. Send Authorization: Bearer mgmt-....
In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/public/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/archive"{ "object": "project", "id": "019a6eab-7c00-7000-8000-000000000123", "name": "customer-123", "description": "", "status": "archived", "is_default": false, "budget": { "daily_limit": { "value": "0.00000000", "currency": "usd" }, "weekly_limit": { "value": "0.00000000", "currency": "usd" }, "monthly_limit": { "value": "100.00000000", "currency": "usd" }, "total_limit": { "value": "0.00000000", "currency": "usd" }, "daily_alert": { "value": "0.00000000", "currency": "usd" }, "monthly_alert": { "value": "0.00000000", "currency": "usd" }, "usage_alert_percent": 0 }, "created_at": "2026-11-11T00:00:00Z", "request_id": "req_example"}Last updated on