Admin.PlayerBan

From FreePokerAlliance wiki

Jump to: navigation, search

Contents

Description

Disables or re-enables the player's account.

Parameters

Required Name Type Default value Description
required Command string PlayerBan API method name
required UID string Player's username
optional Ban bool "True" bans the player, "False" unbans them

Example Request

Replace XXXXXXXXXX with actual data.

http://api.freepokeralliance.com/adminservices.aspx?Command=PlayerBan&UID=XXXXXXXXXX

Response

Name Type Default value Description
Command string PlayerBan API method name
PlayerID int Numeric ID of the player (or 0 if unsuccessful)

Error Codes

Code Description
Status=ERROR An error occured
Status=OK Registration successful
ERROR=ParameterName1,ParameterName2,...,ParameterNameN Indicates which parameter names have wrong values

Personal tools