# cancel_friendship

Removes an avatar from the bot’s friend list.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("cancel_friendship", [
  "slkey", "d11fa786-c342-4785-8e1b-ac70a17a9aac"
]);
```

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

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

```snippet http-api-input-q5yvAagqsZ
slkey | yes | The UUID of the avatar to be removed from the friend list
```

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

# Example

Removes an avatar from the bot’s friend list:

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("cancel_friendship", [
  "slkey", "d11fa786-c342-4785-8e1b-ac70a17a9aac"
]);
```