# deletePaymentMethodFromVault

Mutation · GraphQL API

Delete a multi-use payment method from the vault.

## Authentication

- CLIENT
- SERVER

## Input

- `input` (`DeletePaymentMethodFromVaultInput!`) — required

## Returns [DeletePaymentMethodFromVaultPayload](/braintree/graphql/reference/types/delete-payment-method-from-vault-payload)

Top-level output field from deleting a multi-use payment method.

### Returned fields

- `clientMutationId` (`String`): An identifier used to reconcile requests and responses. 255 characters maximum.

## Examples

### Delete payment method from vault

Top-level input fields for deleting a multi-use payment method from the vault.

```graphql
mutation deletePaymentMethodFromVault($input: DeletePaymentMethodFromVaultInput!) {
  deletePaymentMethodFromVault(input: $input) {
    clientMutationId
  }
}
```

### Delete a vaulted payment method

Removes a payment method from the vault. Demonstrates a simple mutation with minimal input and minimal response.


```graphql
mutation deletePaymentMethodFromVault($input: DeletePaymentMethodFromVaultInput!) {
  deletePaymentMethodFromVault(input: $input) {
    clientMutationId
  }
}
```

#### Variables

```json
{
  "input": {
    "clientMutationId": "delete-pm-001",
    "paymentMethodId": "cGF5bWVudG1ldGhvZF92YXVsdGVk"
  }
}
```

#### Response

```json
{
  "data": {
    "deletePaymentMethodFromVault": {
      "clientMutationId": "delete-pm-001"
    }
  },
  "extensions": {
    "requestId": "delete-pm-request-id"
  }
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)