Update a project
PATCH/v1/projects/:project_id
Rename or archive a project, and/or change its content-retention settings (trace_content_retention_days, trace_content_mode). Archiving is reversible; resources are retained.
The two retention controls answer different questions. The window bounds how long content stays — a daily sweep purges anything past it, leaving auditable skeletons behind. trace_content_mode: none means content is never written, which is the stronger guarantee: it cannot be missed by a sweep or survive in a backup.
Request
Responses
- 200
- 400
- 401
- 404
Project updated.
The request was malformed or failed validation.
Missing or invalid credentials.
The resource does not exist (existence is not leaked).