Patch V2 Type Curves Batch (Preview)
PATCH/v2/projects/:projectId/type-curves/batch
This endpoint is documented ahead of the Type Curve 2.0 switch-over. It does not respond until 2026-11-07, when Type Curve V1 stops responding.
Updates one or more type curve documents in projectId project, each identified by its own id. A single object is accepted as a one-element batch. PATCH leaves omitted fields exactly as they were. Records are matched by id rather than by name, so renaming a type curve updates it instead of creating a duplicate.
Request
Responses
- 207
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Multi-Status. Every record is reported individually; an id that does not exist in this project appears here as a per-record 404 rather than as the response status.
Bad Request. The request as a whole is malformed. A record that fails validation on its own is reported inside the 207 instead.
Unauthorized. Invalid or missing authentication.
Forbidden. Insufficient permissions to access the resource.
Not Found. The project does not exist in this tenant.
Unprocessable Entity. The payload is well-formed but describes an impossible type curve.
Too Many Requests. The per-tenant request rate limit was exceeded.
Internal Server Error. Something went wrong on the server.