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,
"archived_at": 123,
"status": "active"
}
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,
"archived_at": 123,
"status": "active"
}
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 body is of type object
.
Project updated successfully.
Represents an individual project.
Was this page helpful?