---
search:
  tags:
    - API keys
    - POST
seo:
  description: >-
    Only the Athena platform's own key for this event… Reference for the POST
    /api/admin/api-keys/system/extend endpoint in the Athena Attack/Defence
    Admin API.
sidebar:
  label: >-
    Keep every live system key valid until at least an instant; a revoked or
    expired key is never revived
  badge: POST
title: >-
  Keep every live system key valid until at least an instant; a revoked or
  expired key is never revived
type: openapi-operation
---
Only the Athena platform's own key for this event may call this. It is part of the platform's event lifecycle, and every other key is refused with 403.

`POST /api/admin/api-keys/system/extend`

**Request body** (`application/json`, required)

- `expiresAt` (string<date-time>, required)

Request body example:

```json
{
  "expiresAt": "2019-08-24T14:15:22Z"
}
```

**Responses**

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

Response example, 200:

```json
{
  "extended": 0,
  "keys": [
    {
      "label": "string",
      "expiresAt": "2019-08-24T14:15:22Z"
    }
  ]
}
```
