#### [Board](https://docs.dev.board.fun/unity/api/index.html "index")

### [Board.Save](https://docs.dev.board.fun/unity/api/Board.Save.html "Board\.Save"). [BoardSaveGameManager](https://docs.dev.board.fun/unity/api/BoardSaveGameManager.html "Board\.Save\.BoardSaveGameManager")

## BoardSaveGameManager.RemovePlayersFromSaveGame(string) Method

Removes [players](https://docs.dev.board.fun/unity/api/BoardSession.players.html "Board\.Session\.BoardSession\.players") from the specified saved game and returns a value asynchronously indicating whether the operation was successful.

If the saved game is not associated with any active players, the saved game is deleted.

```
public static System.Threading.Tasks.Task<bool> RemovePlayersFromSaveGame(string saveId);
```

#### Parameters

`saveId` [System.String](https://learn.microsoft.com/en-us/dotnet/api/system.string "System\.String")

The unique identifier for the saved game to remove players from.

#### Returns

[System.Threading.Tasks.Task<](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 "System\.Threading\.Tasks\.Task\`1") [System.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean "System\.Boolean") [>](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 "System\.Threading\.Tasks\.Task\`1")

The task object representing the asynchronous operation.

#### Exceptions

[System.ArgumentNullException](https://learn.microsoft.com/en-us/dotnet/api/system.argumentnullexception "System\.ArgumentNullException")

[saveId](https://docs.dev.board.fun/unity/api/BoardSaveGameManager.RemovePlayersFromSaveGame(string).md#Board.Save.BoardSaveGameManager.RemovePlayersFromSaveGame(string).saveId "Board\.Save\.BoardSaveGameManager\.RemovePlayersFromSaveGame\(string\)\.saveId") is `null` or empty.
