delete_line
Delete a line and every endpoint under it, immediately or by staging the removal in the line's draft with commitMode "draft" and draftRevision (returns {draft}, discardable via discard_line_draft, instead of deleting right away). An immediate delete removes the line's own revision history along with it, so list_config_revisions has nothing left to list and rollback_config cannot bring the line back. Errors when lineKey is missing, doesn't match a line in the project, or the draft revision is stale. Requires edit access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lineKey | Yes | The line key, e.g. "v1". | |
| commitMode | No | Defaults to publish. Draft writes require draftRevision. | |
| draftRevision | No | Current line draft revision, required for draft writes. |