Archives a project in the organization. Archived projects cannot be used or updated.
POST
/organization/projects/{project_id}/archive https://api.openai.com/v1
Parameters
path Path Parameters
| Name | Type |
|---|---|
project_id
required
The ID of the project. | string |
Responses
200 application/json
Project archived successfully.
interface Project {
id: string;
object: "organization.project";
name: string;
created_at: number;
archived_at?: number | null;
status: "active" | "archived";
}
id: string;
object: "organization.project";
name: string;
created_at: number;
archived_at?: number | null;
status: "active" | "archived";
}