Update a project
PUT/demand/accounts/:account_id/projects/:project_id
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
Responses
- 200
- 400
- 401
- 403
- 404
- 412
- 500
Returns the updated project's id and human_readable_id.
Response Headers
- 96C65204-90C2-4DCB-9393-B8226DD50C76
- 01BTGNYV6HRNK8K8VKZASZCFP0
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
A unique key that you can provide to safely retry requests without accidentally performing the same operation twice.
We suggest using a UUID v4 or another random string with sufficient entropy to avoid collisions.
Examples:
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A requested resource isn't found.
The resource could not be modified because the ETag in the If-Match header does not match the current version. This means the resource was updated by another request after you retrieved it.
Response Headers
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
A request failed due to an internal error.