version 8.3.8

Back | 

WsThumbnail

URL

http://de.piksel.tech/ws/ws_thumbnail/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

  • apiv => Api version; only version 5 supportedd
  • id => Id of the thumbnail to be deleted

Request

Delete a thumbnail

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_thumbnail": {
      "id": 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_thumbnail": { "id": 980457 } } }

Response

Response format

{
  "response": {
    "success": {
      "code": 643,
      "message": "Thumbnail Deleted",
      "details": "Id: 980457"
    }
  }
}