# Katılımcıları Silme

Bir katılımcıyı oturumdan kaldırmanın üç yolu vardır:

{% tabs %}
{% tab title="CURL" %}
**ATTENDANCE\_CODE parametresi ile:**

```bash
curl --location --request DELETE 'https://<DOMAIN>/xapi/v2/session/<SESSION_GUID>/attendee/<ATTENDANCE_CODE>' \
--header 'Content-Type: application/json'
```

**USER\_GUID parametresi ile:**

```bash
curl --location --request DELETE 'https://<DOMAIN>/xapi/v2/session/<SESSION_GUID>/attendee/<USER_GUID>' \
--header 'Content-Type: application/json'
```

**EMAIL parametresi ile:**

```bash
curl --location --request DELETE 'https://<DOMAIN>/xapi/v2/session/<SESSION_GUID>/attendee/<EMAIL>' \
--header 'Content-Type: application/json'
```

{% endtab %}

{% tab title="NodeJS" %}
**ATTENDANCE\_CODE ile**

```javascript
client.attendees.deleteAttendeeByAttendanceCode("B027EDFC-BF6D-4551-9ED2-38663C100C94", "ABCD90OK-BF6D-4551-9ED2-38663C10987");
```

**USER\_GUID ile**

```javascript
client.attendees.deleteAttendeeByUserGuid("B027EDFC-BF6D-4551-9ED2-38663C100C94", "ABCD90OK-BF6D-4551-9ED2-38663C10987");
```

**EMAIL ile**

```javascript
client.attendees.deleteAttendeeByEmail("B027EDFC-BF6D-4551-9ED2-38663C100C94", "john.doe@example.com");
```

{% endtab %}
{% endtabs %}

**Example Response:**

Başarılı bir operasyon `204 No Content` kodunu döner.
