---
title: "Update a maintenance program"
method: PUT
path: "/assets/v1/maintenance/program/{program.id}"
tags: ["Assets"]
---

# Update a maintenance program

`PUT /assets/v1/maintenance/program/{program.id}`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/assets/v1/maintenance/program/{program.id}`
- Auth: HTTP bearer

## Path parameters

- `program.id` string, required

## Request body

- S12AssetsV1MaintenanceServiceUpdateProgramBody: The parameters for `UpdateProgram`
  - `program` object: The maintenance program
    - `name` string: The name of the maintenance program.
    - `description` string: Description and extra information for a maintenance program
  - `update_mask` string, required: REQUIRED. The attributes (such as name etc.) you want to update for the field, specified in the parameters. For example, the update_mask=name parameter indicates that only the name will be updated in a request, any other attributes provided in your request body will be ignored.

## Response `200`

A successful response.

- S12AssetsV1UpdateProgramResponse: Result returned from `UpdateProgram`
  - `id` string: The identifier of the updated maintenance program.

## Other responses

- `default`: An unexpected error response.

---

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