---
search:
  tags:
    - Curricula
    - PATCH
seo:
  description: >-
    Partial update of curriculum fields (name, code). Optionally pass moduleIds
    to attach… Reference for the PATCH /curricula/{id} endpoint in the Fuxam API
    v4.
sidebar:
  label: Update a curriculum
  badge: PATCH
title: Update a curriculum
type: openapi-operation
---
Partial update of curriculum fields (`name`, `code`). Optionally pass `moduleIds` to attach modules to the first version. Returns updated fields with the first version included. Use GET /curricula/&#123;id&#125; for full structure. Scoped to your integration's institution via Basic Auth credentials.

`PATCH /curricula/{id}`

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

- `name` (string)
- `code` (string)
- `moduleIds` (string[]) — Optional module IDs to attach to the first version.

Request body example:

```json
{
  "name": "BSc Computer Science",
  "code": "BSC-CS"
}
```

**Responses**

- `200` — Updated curriculum
- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `429` — Too Many Requests — 1000 requests per minute per institution. Includes \`X-RateLimit-Limit\`, \`X-RateLimit-Remaining\`, \`X-RateLimit-Reset\` (ISO-8601), and \`Retry-After\` (seconds).
- `500` — Internal Server Error

Response example, 200:

```json
{
  "data": {
    "id": "cur_001",
    "name": "Bachelor CS 2024",
    "institutionId": "inst_123",
    "createdAt": "2026-01-01T00:00:00.000Z",
    "updatedAt": "2026-06-01T00:00:00.000Z",
    "isCohortSpecific": false,
    "isArchived": false,
    "code": "CS-2024",
    "versions": [
      {
        "id": "cv_001",
        "version": "1.0",
        "name": "Default",
        "createdAt": "2026-01-01T00:00:00.000Z",
        "updatedAt": "2026-06-01T00:00:00.000Z",
        "curriculaId": "cur_001",
        "electionEndWeeks": null,
        "electionMode": null,
        "electionStartWeeks": null,
        "isCohortVersion": false,
        "sourceCohortId": null
      }
    ]
  },
  "meta": {
    "requestId": "req_abc123",
    "timestamp": "2026-06-26T00:00:00.000Z",
    "version": "v4"
  }
}
```
