API:Network/TrustedFP/Delete

From BNC4FREE
Revision as of 20:15, 22 April 2020 by Russell (talk | contribs) (API Network Trusted Fingerprint Deletion Info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Resource URI

   https://api.bnc4free.com/network/trustedfp/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
network required The name of the network that the fingerprint is to be deleted from Freenode
fp required The trusted fingerprint to be deleted from the network ec:6f:7a:15:4a:e8:e9:b2:aa:fc:1f:f4:22:9d:4c:2e:90:80:3c:ec:04:25:e2:04:99:2c:3a:ef:5e:13:dc:a6
user optional (Staff Only) The username of the user that has the network and requires the deletion of the fingerprint AnotherTestyTest

Example Request

   curl -XPOST 
    --url https://api.bnc4free.com/network/trustedfp/delete
    -d server=Apple
    -d username=TestyTest
    -d key=d681883383bcf7963427b1629d0b9963cf6335b5
    -d network=Freenode
    -d fp=ec:6f:7a:15:4a:e8:e9:b2:aa:fc:1f:f4:22:9d:4c:2e:90:80:3c:ec:04:25:e2:04:99:2c:3a:ef:5e:13:dc:a6

Example Response

   {
      "status" : "success",
      "username" : "TestyTest",
      "trustedfps" : {
          "ec:6f:7a:15:4a:e8:e9:b2:aa:fc:1f:f4:22:9d:4c:2e:90:80:3c:ec:04:25:e2:04:99:2c:3a:ef:5e:13:dc:a6"
      }
   }