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
| Name | Type | Required | Description |
|---|---|---|---|
designid | string (UUID) | ✓ | The UUID of the design |
sectionid | string (UUID) | ✓ | The UUID of the parent section |
stringid | string (numeric index) | ✓ | Zero-based position of the string within the section's strings array |
Headers
| Name | Value | Description |
|---|---|---|
apikey | YOUR_API_KEY | Your 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
topMDRKBbecomes the section's top depth - Deleting any other string — the previous string's
baseMDRKBis updated to the deleted string'sbaseMDRKB
Notes
- Returns
204 No Contentwith an empty body on success stringidis 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