DELETE
/api/v1/license/bitninja/{vm_id}/lb/
curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/license/bitninja/{vm_id}/lb/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.delete( "https://api.e2enetworks.com/myaccount/api/v1/license/bitninja/{vm_id}/lb/", params={"project_id": "<PROJECT_ID>", "apikey": "<API_KEY>", "location": "<LOCATION>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/license/bitninja/{vm_id}/lb/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", apikey: "<API_KEY>", location: "<LOCATION>" });
const response = await fetch(url, { method: "DELETE", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Terminates the BitNinja security license on the load balancer’s underlying VM. As with enabling, the path takes the load balancer node’s vm_id (the node_detail.vm_id field), not the appliance ID. No request body is required.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”vm_id
required
integer
The vm_id field from the node_detail object in the List Load Balancers response.
Example
23456Query Parameters
Section titled “Query Parameters”project_id
required
integer
Identifier of the project to scope the request to. Required integer project ID.
Example
<PROJECT_ID>apikey
required
string
API key used to authenticate the request
Example
<API_KEY>location
required
string
Region of the load balancer.
Example
<LOCATION>Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
code
integer
data
object
errors
object
message
string
Example
{ "code": 200, "message": "Success"}