Update a maintenance program

Update specific attributes of a maintenance program using the update_mask parameter to control which properties are modified.

  • If update_mask=name, only the name is updated regardless of other values in the request body.
  • If update_mask=description, only the description is updated.
  • If update_mask=interval, only the interval is updated. The due-soon threshold must not exceed the interval.
  • Multiple attributes can be updated in one request using comma-separated values: update_mask=name,description.
  • Any attributes not listed in update_mask are ignored, even if present in the request body.

Requirements

Path Params
string
required

The identifier of the maintenance program.

Body Params

The parameters for UpdateProgram

program
object

The maintenance program

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.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json