DELETE /players/:playerId
Description
Delete an existing player. This route can only be used with the game or debug scope.
When a player is deleted all his invitation/approval requests, teams and processes are also deleted. Team members of all teams which belong to the player will be removed from the team.
It returns a message indicating the result of the operation.
Resource URL
https://api.playlyfe.com/players/:playerId
Method
DELETE
Scopes
game, debug
Parameters
| Location | Parameter Name | Default Value | Description |
|---|---|---|---|
| Query | playerId | ID of player to be deleted |
Example
Request
DELETE https://api.playlyfe.com/players/foo
Response
{
"message": "Player removed successfully"
}