Skip to main content
PATCH
/
v2
/
projects
/
{project_id}
Update a project
curl --request PATCH \
  --url https://api.orq.ai/v2/projects/{project_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "name": "<string>",
  "teams": [
    "<string>"
  ]
}
'
{
  "project": {
    "project_id": "<string>",
    "name": "<string>",
    "key": "<string>",
    "is_archived": true,
    "is_default": true,
    "teams": [
      "<string>"
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "created_by_id": "<string>",
    "updated_by_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.orq.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

Project ID to update.

Body

application/json
project_id
string

Project ID to update.

name
string

New project name. Omit to keep the current name.

teams
string[]

Replacement list of team identifiers associated with the project. Leave empty to remove all team associations.

Response

200 - application/json

OK

project
object

Updated project.