# inventory_delete

Deletes an item from the bot’s inventory.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("inventory_delete", [
  "uuid", "35c6d327-de17-a630-c0ec-f2b04ff8cad9"
]);
```

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="inventory_delete"
```

```snippet http-api-input-q5yvAagqsZ
uuid | yes | UUID of the inventory item to be deleted
```

```snippet http-api-output-JAwUcmg7i7
```

# Example

Deletes an item from the inventory with the given item UUID.

(The example uses the `smartbotsAPI()` helper function. Set your `apikey`, `botname`, and `secret` in that function.)

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("inventory_delete", [
  "uuid", "35c6d327-de17-a630-c0ec-f2b04ff8cad9"
]);
```