API reference
projects.archive
Archive a Project
POST/api/v1/projects/{projectId}/archive
Details
Hide a Project from the Fleet. Its rows stay for history and restore points, and archiving again changes nothing. Destructive: requires confirm: true. Audited.
Input
| Field | Type | Notes |
|---|---|---|
projectIdrequired | string | 1 to 64 characters |
confirmrequired | true |
Output
| Field | Type | Notes |
|---|---|---|
projectrequired | object | |
project.idrequired | string | |
project.namerequired | string | |
project.slugrequired | string | |
project.cloudflareAccountIdrequired | string | |
project.createdAtrequired | integer | from -9007199254740991 to 9007199254740991 |
project.updatedAtrequired | integer | from -9007199254740991 to 9007199254740991 |
project.archivedAtrequired | integer or null |