Skip to content

delete_column

POST /API/v2/delete_column

Deletes the user-defined data column specified by the name POST argument. See example.

Request body

  • slicer_name: the name of the report.
  • project_name: the name of the project.
  • name: the name of the user-defined data column to be deleted.

Response

Example

Delete a certain custom data column (custom_column_2211 in this example). Before testing this method please create a new custom data column by using the save_column method. The value of the name POST argument in this method should be equal to the value of the name parameter in the response of the the save_column method.

Path:

https://uslicer.iponweb.com/API/v2/delete_column

Request

{
   "slicer_name": "Traffic Demo",
   "project_name": "demo",
   "name" : "custom_column_2211"
}
curl --data '{
  "slicer_name": "Traffic Demo",
  "project_name": "demo",
  "name":"custom_column_2211"
}' \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer <token>" \
"https://uslicer.iponweb.com/API/v2/delete_column"

Response

{
  "status" : "success"
}