---
title: "Update Competition"
method: PUT
path: "/api/v1/competitions/{competition_id}"
tags: ["Competitions", "competitions"]
---

# Update Competition

`PUT /api/v1/competitions/{competition_id}`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/competitions/{competition_id}`
- Auth: none declared

Update a competition.

## Path parameters

- `competition_id` string, required

## Request body

- UpdateCompetitionRequest
  - `name` string, nullable
  - `description` string, nullable
  - `event_date` string, date-time, nullable
  - `event_location` string, nullable
  - `venue` string, nullable
  - `status` string, nullable
  - `is_public` boolean, nullable
  - `voting_opens_at` string, date-time, nullable
  - `voting_closes_at` string, date-time, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aimrank/apis/aimrank-api.md) · [All operations](https://skmtc.dev/aimrank/apis/aimrank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aimrank/apis/aimrank-api/revisions/3574d0aff459?raw)
