# PUT /repos/{owner}/{repo}/topics

**Resource:** [repos](../resources/repos.md)
**Replace all repository topics**
**Operation ID:** `repos/replace-all-topics`

## Request Body

**Required:** Yes

**Content Types:** `application/json`

## Responses

| Status | Description |
|--------|-------------|
| 200 | Response |
| 404 | (reference) |
| 422 | (reference) |

**Success Response Schema:**

[topic](../schemas/topic/topic.md)

