---
title: Delete Invite
url: https://platform.claude.com/docs/en/api/php/organization/invites/delete
---

# Delete Invite

`$client->organization->invites->delete(string inviteID): InviteDeleteResponse`

**DELETE** `/v1/organizations/invites/{invite_id}`

Delete a pending invite.

## Parameters

- `inviteID: string` (path parameter)

  ID of the Invite.

## Returns

- `class InviteDeleteResponse`

  - `"invite_deleted" type`

    Deleted object type.

    For Invites, this is always `"invite_deleted"`.

  - `string id`

    ID of the Invite.

## Example

```php
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;

$client = new Client(apiKey: 'my-anthropic-api-key');

$invite = $client->organization->invites->delete('invite_id');

var_dump($invite);
```

### Response (200)

```json
{
  "id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
  "type": "invite_deleted"
}
```
