Update a project
This endpoint updates the details of an existing project.
To prevent race conditions, this endpoint uses optimistic locking. You must provide the If-Match header with the ETag value of the resource you intend to update.
You can get the latest ETag by performing a GET request on the project first.
Request
- Base URLhttps://api.cint.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
The ETag value of the resource, used for optimistic locking.
Providing the ETag ensures you don't accidentally overwrite changes made by another request. You can get this value from the ETag header of a GET request for the resource.
A shallow unique ID used as part of the deduplication mechanism for mutable operations. We suggest using UUIDv4 or another random string with sufficient entropy to avoid collisions.
A shallow unique ID used as part of the deduplication mechanism for mutable operations, this header is required.
Request body
Example request
{
"name": "A Project",
"project_manager_id": "b551326b-ac9d-4d32-8823-4f025787dab9",
"project_customer_reference_number": "RF-4567"
}Response
Returns the updated project's id and human_readable_id.
Example response
{
"id": "01BTGNYV6HRNK8K8VKZASZCFP0",
"human_readable_id": "FT354J"
}Changes
No recorded changes to this operation across all 1 revision of this API.