---
search:
  tags:
    - API keys
    - PUT
seo:
  description: >-
    Only the event's system key, which the Athena… Reference for the PUT
    /api/admin/api-keys/provisioner endpoint in the Athena Attack/Defence Admin
    API.
sidebar:
  label: Install the provisioner's system key by hash
  badge: PUT
title: Install the provisioner's system key by hash
type: openapi-operation
---
Only the event's system key, which the Athena organizer panel holds, may call this. An organizer API key is refused with 403; use the panel.

`PUT /api/admin/api-keys/provisioner`

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

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

Request body example:

```json
{
  "tokenHash": "string",
  "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
{
  "id": "string",
  "expiresAt": "string",
  "created": true
}
```
