---
title: "remove(completionHandler:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkturnbasedmatch/remove(completionhandler:)"
---

# remove(completionHandler:)

Removes a match from Game Center that the local player participants in.

## Declaration

```swift
func remove(completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
```

```swift
func remove() async throws
```

## Parameters

- `completionHandler`: The block that GameKit calls when it completes the request. The block receives the following parameter:

## Discussion

Discussion If you don’t use the GKTurnBasedMatchmakerViewController interface, where players can delete their matches, use this method to delete a match that the local player no longer actively participants in. This method only removes the match from the local player’s Game Center data — it doesn’t impact other participants in the match.
