# Remove Line

Deletes **a single line** from the file or text content.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `FilePath` | `String` | ✅Yes\*   | Path of the file to modify |
| `Text`    | `String` | ✅Yes\*   | Text content to modify |
| `LineNumber` | `Int32` | ✅Yes     | Line number to delete |

\*FilePath and Text are mutually exclusive (OverloadGroup) parameters. One of them is used.


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsRemoveLineSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `RemoveLineMessage` | `String` | Returns the error information received if the operation fails. |
| `RemoveLineResult` | `String` |             |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Throw exception on error (default: No) |