Skip to content
Athena User Guide
Esc
↑↓navigate↵open⌘Jpreview

Revoke a player's WireGuard peer; the host drops it on its next desired generation

POST/api/admin/players/{id}/vpn-peer/revoke
Authorization
AuthorizationBearer token · headerrequired
Path parameters
idstringrequired
min length 1
Responses
200

Success

revokedbooleanrequired
401

Unauthorized

errorstringrequired
404

Response for status 404

errorstringrequired
422

Validation failed

typestringrequired
onstringrequired
summarystring
messagestring
foundany
propertystring
expectedstring
500

Unhandled server error

errorstringrequired
Try it
Server
Authorization
Parameters
Request
curl -X POST '/api/admin/players/string/vpn-peer/revoke' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "revoked": true
}

Was this page helpful?