---
title: Leave Guild
category: User
order: 5
---

# `leaveGuild`

```php
$client->user->leaveGuild($parameters);
```

## Description

Leave a guild.

## Parameters


Name | Type | Required | Default
--- | --- | --- | ---
guild.id | snowflake | true | *null*

## Response

Returns a 204 empty response on success.

