> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-unsw-v6.advance-uac.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-unsw-v6.advance-uac.com/_mcp/server.

# Update program

PUT https://institution/catalogue/programs/{code}/{year}
Content-Type: application/json

The program (code, year) from the institution's handbook catalogue, including its curriculum structure (the nested containers/courses that make up the program). 404 if there is no such catalogue program.

Reference: https://docs-unsw-v6.advance-uac.com/unsw-advance-institution-api/institution/catalogue/program/update-program

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /institution/catalogue/programs/{code}/{year}:
    put:
      operationId: Update program
      summary: Update program
      description: >-
        The program (code, year) from the institution's handbook catalogue,
        including its curriculum structure (the nested containers/courses that
        make up the program). 404 if there is no such catalogue program.
      tags:
        - program
      parameters:
        - name: code
          in: path
          description: '(Required) '
          required: true
          schema:
            type: string
        - name: year
          in: path
          description: '(Required) '
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/institution_catalogue_program_Update
                  program_Response_200
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                kind:
                  type: string
                creditPoints:
                  type: integer
                studyLevel:
                  type: string
                fieldOfEducation:
                  type: string
                facultyName:
                  type: string
                schoolName:
                  description: Any type
                externalIds:
                  $ref: >-
                    #/components/schemas/InstitutionCatalogueProgramsCodeYearPutRequestBodyContentApplicationJsonSchemaExternalIds
              required:
                - name
                - kind
                - creditPoints
                - studyLevel
                - fieldOfEducation
                - facultyName
                - externalIds
servers:
  - url: https:/
    description: https://{baseurl}
components:
  schemas:
    InstitutionCatalogueProgramsCodeYearPutRequestBodyContentApplicationJsonSchemaExternalIds:
      type: object
      properties:
        handbook:
          type: string
        study_link:
          type: string
      required:
        - handbook
        - study_link
      title: >-
        InstitutionCatalogueProgramsCodeYearPutRequestBodyContentApplicationJsonSchemaExternalIds
    institution_catalogue_program_Update program_Response_200:
      type: object
      properties:
        id:
          type: string
          format: uuid
        code:
          type: string
        year:
          type: integer
        status:
          type: string
      required:
        - id
        - code
        - year
        - status
      title: institution_catalogue_program_Update program_Response_200
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Request**

```json
{
  "name": "Actuarial Studies / Advanced Mathematics (Honours)",
  "kind": "double_degree",
  "creditPoints": 240,
  "studyLevel": "Undergraduate",
  "fieldOfEducation": "",
  "facultyName": "UNSW Business School",
  "externalIds": {
    "handbook": "fbc1a73247f92a103cc7a2ba516d4384",
    "study_link": "fbc1a73247f92a103cc7a2ba516d4384"
  }
}
```

**Response**

```json
{
  "id": "36bf36c0-f0f9-42cd-8c1a-d39cc7007164",
  "code": "4825",
  "year": 2026,
  "status": "updated"
}
```

**SDK Code**

```python institution_catalogue_program_Update program_example
import requests

url = "https://https/institution/catalogue/programs/4825/2026"

payload = {
    "name": "Actuarial Studies / Advanced Mathematics (Honours)",
    "kind": "double_degree",
    "creditPoints": 240,
    "studyLevel": "Undergraduate",
    "fieldOfEducation": "",
    "facultyName": "UNSW Business School",
    "externalIds": {
        "handbook": "fbc1a73247f92a103cc7a2ba516d4384",
        "study_link": "fbc1a73247f92a103cc7a2ba516d4384"
    }
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript institution_catalogue_program_Update program_example
const url = 'https://https/institution/catalogue/programs/4825/2026';
const options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"name":"Actuarial Studies / Advanced Mathematics (Honours)","kind":"double_degree","creditPoints":240,"studyLevel":"Undergraduate","fieldOfEducation":"","facultyName":"UNSW Business School","externalIds":{"handbook":"fbc1a73247f92a103cc7a2ba516d4384","study_link":"fbc1a73247f92a103cc7a2ba516d4384"}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go institution_catalogue_program_Update program_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://https/institution/catalogue/programs/4825/2026"

	payload := strings.NewReader("{\n  \"name\": \"Actuarial Studies / Advanced Mathematics (Honours)\",\n  \"kind\": \"double_degree\",\n  \"creditPoints\": 240,\n  \"studyLevel\": \"Undergraduate\",\n  \"fieldOfEducation\": \"\",\n  \"facultyName\": \"UNSW Business School\",\n  \"externalIds\": {\n    \"handbook\": \"fbc1a73247f92a103cc7a2ba516d4384\",\n    \"study_link\": \"fbc1a73247f92a103cc7a2ba516d4384\"\n  }\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby institution_catalogue_program_Update program_example
require 'uri'
require 'net/http'

url = URI("https://https/institution/catalogue/programs/4825/2026")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"name\": \"Actuarial Studies / Advanced Mathematics (Honours)\",\n  \"kind\": \"double_degree\",\n  \"creditPoints\": 240,\n  \"studyLevel\": \"Undergraduate\",\n  \"fieldOfEducation\": \"\",\n  \"facultyName\": \"UNSW Business School\",\n  \"externalIds\": {\n    \"handbook\": \"fbc1a73247f92a103cc7a2ba516d4384\",\n    \"study_link\": \"fbc1a73247f92a103cc7a2ba516d4384\"\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java institution_catalogue_program_Update program_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://https/institution/catalogue/programs/4825/2026")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"name\": \"Actuarial Studies / Advanced Mathematics (Honours)\",\n  \"kind\": \"double_degree\",\n  \"creditPoints\": 240,\n  \"studyLevel\": \"Undergraduate\",\n  \"fieldOfEducation\": \"\",\n  \"facultyName\": \"UNSW Business School\",\n  \"externalIds\": {\n    \"handbook\": \"fbc1a73247f92a103cc7a2ba516d4384\",\n    \"study_link\": \"fbc1a73247f92a103cc7a2ba516d4384\"\n  }\n}")
  .asString();
```

```php institution_catalogue_program_Update program_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://https/institution/catalogue/programs/4825/2026', [
  'body' => '{
  "name": "Actuarial Studies / Advanced Mathematics (Honours)",
  "kind": "double_degree",
  "creditPoints": 240,
  "studyLevel": "Undergraduate",
  "fieldOfEducation": "",
  "facultyName": "UNSW Business School",
  "externalIds": {
    "handbook": "fbc1a73247f92a103cc7a2ba516d4384",
    "study_link": "fbc1a73247f92a103cc7a2ba516d4384"
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp institution_catalogue_program_Update program_example
using RestSharp;

var client = new RestClient("https://https/institution/catalogue/programs/4825/2026");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"name\": \"Actuarial Studies / Advanced Mathematics (Honours)\",\n  \"kind\": \"double_degree\",\n  \"creditPoints\": 240,\n  \"studyLevel\": \"Undergraduate\",\n  \"fieldOfEducation\": \"\",\n  \"facultyName\": \"UNSW Business School\",\n  \"externalIds\": {\n    \"handbook\": \"fbc1a73247f92a103cc7a2ba516d4384\",\n    \"study_link\": \"fbc1a73247f92a103cc7a2ba516d4384\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift institution_catalogue_program_Update program_example
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "name": "Actuarial Studies / Advanced Mathematics (Honours)",
  "kind": "double_degree",
  "creditPoints": 240,
  "studyLevel": "Undergraduate",
  "fieldOfEducation": "",
  "facultyName": "UNSW Business School",
  "externalIds": [
    "handbook": "fbc1a73247f92a103cc7a2ba516d4384",
    "study_link": "fbc1a73247f92a103cc7a2ba516d4384"
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://https/institution/catalogue/programs/4825/2026")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```