curl --request POST \
--url https://api.openai.com/v1/organization/projects/{project_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"id": "<string>",
"object": "organization.project",
"name": "<string>",
"created_at": 123,
"status": "active",
"archived_at": 123
}Modifies a project in the organization.
curl --request POST \
--url https://api.openai.com/v1/organization/projects/{project_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"id": "<string>",
"object": "organization.project",
"name": "<string>",
"created_at": 123,
"status": "active",
"archived_at": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the project.
The project update request payload.
The updated name of the project, this name appears in reports.
Project updated successfully.
Represents an individual project.
The identifier, which can be referenced in API endpoints
The object type, which is always organization.project
organization.project The name of the project. This appears in reporting.
The Unix timestamp (in seconds) of when the project was created.
active or archived
active, archived The Unix timestamp (in seconds) of when the project was archived or null.
Was this page helpful?