---
title: "Update assessment details"
method: PATCH
path: "/offerings/{offeringId}/assessments/{assessmentId}"
tags: ["Assessment management"]
---

# Update assessment details

`PATCH /offerings/{offeringId}/assessments/{assessmentId}`

Updates the assessment details for a specified assessment in an offering.

## Path parameters

- `offeringId` string, required
- `assessmentId` string, required

## Request body

- Assessment
  - `markType` string
  - `markNumber` string
  - `openDate` string, date-time
  - `dueDate` string, date-time
  - `content` string

## Response `200`

assessment successfully updated

- AssessmentResponse
  - `id` string
  - `pid` string
  - `title` string
  - `type` string
  - `content` string
  - `points` string
  - `hidden` boolean
  - `filename` string
  - `maxAttempts` integer
  - `durationMinutes` integer
  - `totalQuestions` integer
  - `totalThemes` integer
  - `documents` Document[]
    - `id` string
    - `url` string
    - `createdAt` string, date-time
    - `filename` string
    - `mimetype` string
    - `size` integer
  - `themes` ThemeResponse[]
    - `filter` string
    - `numberOfQuestions` string
  - `markType` string
  - `markNumber` string
  - `openDate` string, date-time
  - `dueDate` string, date-time

## Other responses

- `400` — Bad Request
- `401` — No authorization token was found.
- `403` — You are not allowed to access this resource.
- `404` — Not Found

---

[API](https://skmtc.net/iqualify/apis/iqualify-management-api.md) · [All operations](https://skmtc.net/iqualify/apis/iqualify-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/iqualify/iqualify-management-api/revisions/5ac6843de20a/schema)
