Update Collection

put

/mobile/tools/1.0/collections/{id}

Updates the storage collection's metadata.

Request

Supported Media Types
Path Parameters
Header Parameters
  • The request completes successfully only if the ETag of the corresponding asset matches the value of this HTTP request header. To force overwrite, pass the value `*`.
Body ()
The storage collection representation for PUT requests.
Root Schema : mosCollectionUpdate
Type: object
The storage collection representation for PUT requests.
Match All
Show Source
Nested Schema : assetUpdate
Type: object
The asset representation for PUT requests.
Show Source
Nested Schema : mosCollectionUpdate-allOf[1]
Type: object
Show Source

Response

Supported Media Types

204 Response

The storage collection metadata was updated. No content was returned in the response.

400 Response

The storage collection specification is missing.
Body ()
Root Schema : error
Type: object
Show Source
Nested Schema : errorDetails
Type: object
Show Source

409 Response

A storage collection already exists with the same name as the modified name.
Body ()
Root Schema : error
Type: object
Show Source
Nested Schema : errorDetails
Type: object
Show Source

412 Response

The operation failed based on the `If-Match` condition. Typically, this is the result of concurrent modification detection. It also can be the result of improper values specified in the request headers.
Body ()
Root Schema : error
Type: object
Show Source
Nested Schema : errorDetails
Type: object
Show Source