GET
/
players
/
bans
/
{workspaceId}
/
{banId}
curl --request GET \
  --url https://api.hyra.io/players/bans/{workspaceId}/{banId} \
  --header 'Authorization: Bearer <token>'
{
  "_id": "<string>",
  "actor": {
    "display_name": "<string>",
    "exists": true,
    "id": "<string>",
    "username": "<string>"
  },
  "ban_incremental_id": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "has_comments": true,
  "reason": "<string>",
  "removed_at": "<string>",
  "removed_by": {
    "display_name": "<string>",
    "exists": true,
    "id": "<string>",
    "username": "<string>"
  },
  "source": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z",
  "victim": {
    "display_name": "<string>",
    "exists": true,
    "id": "<string>",
    "username": "<string>"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required
banId
number
required

Response

200 - application/json
_id
string
required
actor
object
required
ban_incremental_id
number
required
createdAt
string
required
has_comments
boolean
required
reason
string
required
removed_at
string
removed_by
object | null
source
string
required
updatedAt
string
required
victim
object
required