Archive a project
POST/v1/projects/:id/archive
Archives a project.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Project archived
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to archive this project, or the API key lacks the projects:write scope (err_insufficient_scope).
Project not found (err_project_not_found).
Validation failed. Error codes:
err_project_archived— the project is already archivederr_system_project— the project is the system projecterr_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action