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 error if the request was not successful
Was this page helpful?