Update Collection

put

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

Updates the storage collection's metadata.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
The identifier of the storage collection.
Header Parameters
If-Match
Type: string
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 Parameter
The storage collection representation for PUT requests.
Root Schema : mosCollectionUpdate
Type: object
The storage collection representation for PUT requests.
Nested Schema : assetUpdate
Type: object
The asset representation for PUT requests.
Nested Schema : mosCollectionUpdate-allOf[1]

Response

Supported Media Types
  • application/json
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
Nested Schema : errorDetails
Type: object
409 Response
A storage collection already exists with the same name as the modified name.
Body
Root Schema : error
Type: object
Nested Schema : errorDetails
Type: object
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
Nested Schema : errorDetails
Type: object