PATCH
/api/public/v1/projects/{projectId}

Update a project

Update name, description, or status (archive/unarchive).

Path Parameters

NameTypeRequiredDescription
projectIdstring
Required
Project ID.

Request Body

PropertyTypeDescription
namestringProject name.
descriptionstringDescription.
statusstringStatus.
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"
    }
  }
}