Update one or more version elements

This method updates one or more elements based on JSON input. You can pass a JSON array of JSON objects or a single JSON object. The method updates the elements based on the 'id' properties of the JSON object(s).

Request

PUT http://{hostname}:{port}
  /versions/?{parameters}
Accept: application/json
Content-Type: application/json
Table 1. Request parameters
Parameter Type Required Description
format string false One of the format options; this parameter determines what information is included in the JSON response. If not specified, or if an unrecognized value is specified, the default format of "list" will be used.
Table 2. Header parameters
Parameter Type Required Description
Content-Type application/json true
Accept application/json true
For the format parameter, use one of the following format options:
list
Primary properties and application, version statuses and children
detail
Primary properties and application, version statuses with related comments, attachments, and component versions
For details about the full JSON that the server returns when you select one of these formats, see the related resource: versions resource.