バージョン 8.3.8

Back | 

WsAsset

URL

http://de.piksel.tech/ws/ws_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=>Asset id of the asset to be updated
  • apiv=>The api version; only version 5 supportedd

Request

Delete an asset

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
    },
    "ws_asset": {
      "assetid": 980457
    }
  }
}

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 }, "ws_asset": { "assetid": 980457 } } }

Response

Response format

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