API:User/Whitelist/Delete

From BNC4FREE
Jump to navigation Jump to search

Resource URI

   https://api.bnc4free.com/user/whitelist/delete

Parameters

Variable Required Description Example
server required The name of the server Apple
username required Your Username TestyTest
key required Your API Key d681883383bcf7963427b1629d0b9963cf6335b5
host required The IP/Host to be deleted 10.0.0.6
username optional (Staff Only) The username to delete allowed hosts for AnotherTestyTest

Example Request

   curl -XPOST 
    --url https://api.bnc4free.com/user/whitelist/delete
    -d server=Apple
    -d username=TestyTest
    -d key=d681883383bcf7963427b1629d0b9963cf6335b5
    -d host=10.0.0.6

Example Response

   {
      "status" : "success",
      "username" : "TestyTest",
      "hosts" : {
          "10.0.0.6"
      }
   }