curl --request DELETE \
--url https://api.hyra.io/players/bans/{workspaceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"player": "<string>",
"source": "<string>",
"actor": "<string>"
}'
{
"actor": "<string>",
"victim": "<string>",
"workspace": "<string>",
"reason": "<string>",
"removed_by": "<string>",
"removed_at": "<string>",
"ban_incremental_id": 123,
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Ban revoked successfully
curl --request DELETE \
--url https://api.hyra.io/players/bans/{workspaceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"player": "<string>",
"source": "<string>",
"actor": "<string>"
}'
{
"actor": "<string>",
"victim": "<string>",
"workspace": "<string>",
"reason": "<string>",
"removed_by": "<string>",
"removed_at": "<string>",
"ban_incremental_id": 123,
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "<string>"
}