> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/gift-cards/llms.txt)
> Source: https://docs.saleor.io/api-reference/gift-cards/mutations/gift-card-unassign-user

# giftCardUnassignUser Mutation

Remove a customer restriction from a gift card.

Added in Saleor 3.23.

Requires the MANAGE\_GIFT\_CARD permission.

Triggers the following webhook events:

-   GIFT\_CARD\_UPDATED (async): A gift card was updated.

```graphql
giftCardUnassignUser(
  id: ID!
): GiftCardUnassignUser
```

Details

```graphql
type GiftCardUnassignUser {
  giftCard: GiftCard
  giftCardErrors: [GiftCardError!]! @deprecated
  errors: [GiftCardError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of the gift card.

<a id="type"></a>

### Type

<a id="giftcardunassignuser"></a>

#### [`GiftCardUnassignUser`](/api-reference/gift-cards/objects/gift-card-unassign-user.md)

Remove a customer restriction from a gift card.

Added in Saleor 3.23.

Requires the MANAGE\_GIFT\_CARD permission.

Triggers the following webhook events:

-   GIFT\_CARD\_UPDATED (async): A gift card was updated.
