curl --request POST \
--url https://api.openai.com/v1/organization/projects/{project_id}/archive \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "organization.project",
"name": "<string>",
"created_at": 123,
"archived_at": 123,
"status": "active"
}
Archives a project in the organization. Archived projects cannot be used or updated.
curl --request POST \
--url https://api.openai.com/v1/organization/projects/{project_id}/archive \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "organization.project",
"name": "<string>",
"created_at": 123,
"archived_at": 123,
"status": "active"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the project.
Project archived successfully.
Represents an individual project.
Was this page helpful?