---
search:
  tags:
    - Players
    - POST
seo:
  description: >-
    Revoke a player's WireGuard peer; the host… Reference for the POST
    /api/admin/players/{id}/vpn-peer/revoke endpoint in the Athena
    Attack/Defence Admin API.
sidebar:
  label: >-
    Revoke a player's WireGuard peer; the host drops it on its next desired
    generation
  badge: POST
title: >-
  Revoke a player's WireGuard peer; the host drops it on its next desired
  generation
type: openapi-operation
---
`POST /api/admin/players/{id}/vpn-peer/revoke`

**Responses**

- `200` — Success
- `401` — Unauthorized
- `404` — Response for status 404
- `422` — Validation failed
- `500` — Unhandled server error

Response example, 200:

```json
{
  "revoked": true
}
```
