Skip to main content
PATCH
/
api
/
v1
/
quizzes
/
{id}
/
rounds
/
{roundId}
Update a round
curl --request PATCH \
  --url https://quizquail.com/api/v1/quizzes/{id}/rounds/{roundId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "timer_override": 150
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "quiz_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>",
    "order": 123,
    "timer_override": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Prefix your key with Bearer in the Authorization header.

Keys follow the format qq_... and can be scoped to specific permissions.

Path Parameters

id
string<uuid>
required

Resource UUID

Example:

"550e8400-e29b-41d4-a716-446655440000"

roundId
string<uuid>
required

Round UUID

Body

application/json
title
string
timer_override
integer | null
Required range: 1 <= x <= 300

Response

Updated round

data
object
required