Skip to main content
PUT
/
api
/
v1
/
projects
/
{project_id}
Update Project
curl --request PUT \
  --url https://api.devkit4ai.com/api/v1/projects/{project_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Update project details such as name and description.

Headers

Authorization
string
required
Bearer token for authentication

Path Parameters

project_id
string
required
Unique project identifier

Body

name
string
Updated project name (1-255 characters)
description
string
Updated project description (max 1000 characters)
All fields are optional. Only provide fields you want to update.

Response

id
string
Project unique identifier
name
string
Project name
description
string
Project description
is_active
boolean
Whether the project is active
created_at
string
Project creation timestamp (ISO 8601)
updated_at
string
Last update timestamp (ISO 8601)

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

project_id
string<uuid>
required

Body

application/json

Request payload for updating a project

name
string | null
Required string length: 1 - 255
description
string | null
Maximum string length: 1000

Response

Successful Response

id
string<uuid>
required
name
string
required
description
string | null
required
is_active
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time> | null
required