cURL
curl --request POST \ --url https://api.rendernet.ai/pub/v1/assets/archive \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data ' { "ids": [ "ast_01" ] } '
{ "data": [ { "data": { "size": { "height": 512, "width": 512 }, "url": "object-url" }, "id": "asset_id", "status": "archive", "tags": [ "api" ], "type": "image" } ], "err": { "code": "error_code", "message": "error_message" } }
The archive assets endpoint allows users to archive their uploaded assets. Users can send a list of asset ids to this endpoint to archive the associated assets.
API key needed to access our public endpoints. You can find yours under the 'Account' section of the website
A list of deleted assets
Show child attributes
The details of the asset
The size of the asset
The height of the image
512
The width of the image
The url of the asset
"object-url"
The id of the asset
"asset_id"
The status of the asset
"archive"
The tags associated with the asset.
["api"]
The type of the asset
"image"
The error if the request was not successful
The error specific code
"error_code"
The error message
"error_message"
Was this page helpful?