PUT API/Packages

Edits values of package properties.

Request Information

URI Parameters


Body Parameters

Name Description Type Additional Information
id Package unique identifier integer Required
Name Package name string Required
Description Package description string None
StorageLimit In Gb decimal number Required
isGlacierRestoreLimit - boolean Required
RestoreLimit In Gb decimal number None
Cost - decimal number Required
GlacierRestoreType Only for Amazon to Glacier accounts. Notes: 'Standard' = default value. 'No' = Do not restore files from Glacier GlacierRestoreType None
UseRestoreLimit User restore limit. Default value is 'false' boolean None

Request Formats

application/json, text/json

  "Name": "sample string 1",
  "Description": "sample string 2",
  "StorageLimit": 3.1,
  "isGlacierRestoreLimit": true,
  "RestoreLimit": 5.1,
  "Cost": 6.0,
  "GlacierRestoreType": 0,
  "UseRestoreLimit": true

application/xml, text/xml

<PackageCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <Description>sample string 2</Description>
  <Name>sample string 1</Name>



Response Information

Resource Description

IHttpActionResult None.