POST
/
organization
/
projects
/
{project_id}
Modify project
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

The ID of the project.

Body

application/json

The project update request payload.

name
string
required

The updated name of the project, this name appears in reports.

Response

Project updated successfully.

Represents an individual project.

id
string
required

The identifier, which can be referenced in API endpoints

object
enum<string>
required

The object type, which is always organization.project

Available options:
organization.project
name
string
required

The name of the project. This appears in reporting.

created_at
integer
required

The Unix timestamp (in seconds) of when the project was created.

status
enum<string>
required

active or archived

Available options:
active,
archived
archived_at
integer | null

The Unix timestamp (in seconds) of when the project was archived or null.