## Stop location sharing

`chats.location.stop(strchat_id, LocationStopParams**kwargs)  -> StopChatLocationSharingResponse`

**delete** `/v3/chats/{chatId}/location`

Stop a contact's location share with you. `handle` is required and names whose
share to end.

Returns `202` when the request is accepted. The stop is carried out on the contact's
device, and the `location.sharing.stopped` webhook fires once sharing has ended.

Sharing is per contact, so this ends that contact's share in every chat you have
with them.

Returns `404` if the contact isn't currently sharing.

### Parameters

- `chat_id: str`

- `handle: str`

  Phone number (E.164 format) or email address of the contact whose share to end

### Returns

- `class StopChatLocationSharingResponse: …`

  - `message: str`

  - `success: bool`

### Example

```python
import os
from linq import LinqAPIV3

client = LinqAPIV3(
    api_key=os.environ.get("LINQ_API_V3_API_KEY"),  # This is the default and can be omitted
)
stop_chat_location_sharing_response = client.chats.location.stop(
    chat_id="975d0776-bd17-4273-8337-f346b4c661b0",
    handle="+15551234567",
)
print(stop_chat_location_sharing_response.message)
```

#### Response

```json
{
  "success": true,
  "message": "Location sharing stop requested"
}
```
