Version 8.3.8

Back | 

WsRecycleAsset

URL

http://de.piksel.tech/ws/ws_recycle_asset/mode/json/apiv/5.0?method=delete&
Use "request" param as post/delete variable for submitting json/xml request payload for all POST/DELETE requests.

Parameters

  • assetid => Id of asset to be deleted

Request

Permanently delete an asset from the recycle bin

Request format

{
  "request": {
    "authentication": {
      "app_token": "#app_token#",
      "client_token": "#client_token#",
      "user_token": "#user_token#"
    },
    "header": {
      "header_version": 1,
      "api_version": "5",
      "no_cache": true
    },
    "WsRecycleAsset": {
      "assetid": 1
    }
  }
}

Test Example

{ "request": { "authentication": { "app_token": "#app_token#", "client_token": "#client_token#", "user_token": "#user_token#" }, "header": { "header_version": 1, "api_version": "5", "no_cache": true }, "WsRecycleAsset": { "assetid": 1 } } }

Response

Response format

{
  "response": {
    "success": {
      "code": 601,
      "message": "Asset Deleted",
      "details": ""
    }
  }
}