Skip to main content
Version: 2025-12-18

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

Returns the updated project's id and human_readable_id.

Response Headers
    traceparent

    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.

    tracestate

    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.

    idempotency-key

    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:

    • 96C65204-90C2-4DCB-9393-B8226DD50C76
    • 01BTGNYV6HRNK8K8VKZASZCFP0