Skip to main content

Replace/Clear Collection

PUT 

/api/v1/assetcollection/:collection_id

Replace assets

Replace existing assets in a Collection with a new list of assets.

REQUEST PARAMETERS

ParameterTypeDescription
assetsJSONList of Collection id to be updated

REQUEST JSON

{
"assets": ["b3ad7854e1ad4ce8a8c83272447f980b"]
}

Clear assets

Clear all Assets from a Collection by putting an empty list of assets.

REQUEST JSON

{
"assets": []
}

HTTP RESPONSE

Standard HTTP Codes

Request

Responses

Successful operation