PATCH
/api/public/v1/projects/{projectId}Update a project
Update name, description, or status (archive/unarchive).
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | Required | Project ID. |
Request Body
| Property | Type | Description |
|---|---|---|
name | string | Project name. |
description | string | Description. |
status | string | Status. |
PATCHExample request
curl
curl -X PATCH "https://www.pxb.app/api/public/v1/projects/{projectId}" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"status": "ARCHIVED"
}'200Example response
json
{
"message": "Project updated successfully!",
"content": {
"project": {
"id": "proj_1"
}
}
}