Skip to main content

Get Player Restrictions For Self

GET 

/users/v2/player/me/restrictions

Get Restrictions for a player

Required Permissions:

  • For any player (including themselves) any of: user:*, user:restriction:read:any

  • For the player themselves : user:restriction:read:self

Responses

Successful Response

Schema

    restrictions

    object[]

    List of restrictions applied to a user

  • Array [

  • type RestrictionType (string)required

    Possible values: [account_ban, account_lockout, account_pending_deletion, account_deny_auth]

    Restrictions that can be applied to a player. Resitrictions are applied to a player by an admin and often types indicates that the player is banned.

    reason RestrictionReasonCode (string)

    Possible values: [cheating_autodetected, speedhack_autodetect, other, cheating_observed, cheating_reported_by_player, threats, language, griefing, fraud, revoke_failed, unknown, guardian, issuer_process, account_migration, user_request, maintenance, pending_deletion]

    An enumeration.

    expiration date-time

    Date the restriction expires. Null means the restriction is permanent

  • ]

Loading...