Skip to main content
PUT
/
api
/
v1
/
projects
/
{projectId}
Update project
curl --request PUT \
  --url https://api.contracting.kukkingu.software/api/v1/projects/{projectId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenant-id: <tenant-id>' \
  --data '
{
  "name": "Website Redesign",
  "description": "Revamp the corporate website for the 2025 launch.",
  "order": 13
}
'
{
  "data": {
    "id": "prj_8f4d4gk1p9h2x0s7v3n5c1a9",
    "contract": "ctr_z23aoo8naxk68ewcr64tchh5",
    "name": "Website Redesign",
    "createdAt": "2023-10-05T14:48:00.000Z",
    "updatedAt": "2023-10-05T14:48:00.000Z",
    "description": "Revamp the corporate website for the 2025 launch.",
    "order": 13
  }
}

Authorizations

Authorization
string
header
required

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

Headers

tenant-id
string
required

Specifies the tenant context for the request. All endpoints operate within this tenant scope.

Example:

"tnt_pfh0haxfpzowht3oi213cqos"

Path Parameters

projectId
string
required

Unique identifier of the project.

Example:

"prj_8f4d4gk1p9h2x0s7v3n5c1a9"

Body

application/json

Request body used to fully replace an existing project resource.

Request body used to fully replace an existing project resource.

name
string
required

Name of the project.

Required string length: 1 - 255
Example:

"Website Redesign"

description
string

Optional description of the project.

Maximum string length: 1024
Example:

"Revamp the corporate website for the 2025 launch."

order
integer

Order of the resource for sorting purposes.

Required range: 0 <= x <= 9007199254740991
Example:

13

Response

Default Response

Standard success response payload wrapped in a data property.

data
object
required

Project resource returned by the API.