Skip to main content

Delete String

Remove a string from a section of a well schematic. The remaining strings have their depths adjusted to close the gap so the section stays contiguous.

The path parameter stringid is the zero-based index of the string within the section's strings array, not a UUID.

A section must always have at least one string — deleting the only remaining string returns 409 Conflict.

DELETE/api/v1/designs/{designid}/well-schematic/sections/{sectionid}/strings/{stringid}

Delete a string from a well-schematic section

Path Parameters

NameTypeRequiredDescription
designidstring (UUID)The UUID of the design
sectionidstring (UUID)The UUID of the parent section
stringidstring (numeric index)Zero-based position of the string within the section's strings array

Headers

NameValueDescription
apikeyYOUR_API_KEYYour API authentication key

Depth-adjustment semantics

After deletion the server stitches the section's strings back into a contiguous interval:

  • Deleting the first string (index 0) — the new first string's topMDRKB becomes the section's top depth
  • Deleting any other string — the previous string's baseMDRKB is updated to the deleted string's baseMDRKB

Notes

  • Returns 204 No Content with an empty body on success
  • stringid is the index, not a UUID — after a delete the remaining indices shift down by one
  • A section must retain at least one string; deleting the last one returns 409 Conflict
  • An audit-log entry is written with the diff of the removed string