Delete APTest Profile

To delete an access point test profile:
  1. Log in to the REST API server using administrator credentials. You must also forward the session ID variable with each API call.
  2. Use the POST method to access the tools/delete-aptest-profile endpoint and delete an access point profile.

    Sample Request

    curl -X POST --cookie auth_token=$cookie http://134.141.242.93/nsight-ui/api/v1/tools/
    delete-aptest-profile?treeSelection=%2FSystem 
    	-H "Content-Type: application/json"
    	-d {    
    		"profiles":"test 2",
    	}
    }
    Click to expand in new window

    Query String Parameters

    Parameter Required/Optional Description Data Type
    treeSelection Required Deletes aptest profile based on filter value. Possible values are:
    • /System: Deletes profile across all sites.
    • /System/<site>: Deletes profile for a specific site.
    String

    Sample Response (200 OK)

    {
    "success":true,
    "return_code":0,
    "err":"none"
    }