Tools
Install tool
Installs a security tool to a specific workspace with duplicate checking to prevent conflicts.
POST
/
api
/
tools
/
install
Install tool
curl --request POST \
--url https://{baseUrl}/api/v1/api/tools/install \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "<string>",
"toolId": "<string>"
}
'import requests
url = "https://{baseUrl}/api/v1/api/tools/install"
payload = {
"workspaceId": "<string>",
"toolId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({workspaceId: '<string>', toolId: '<string>'})
};
fetch('https://{baseUrl}/api/v1/api/tools/install', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/tools/install"
payload := strings.NewReader("{\n \"workspaceId\": \"<string>\",\n \"toolId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}⌘I
Install tool
curl --request POST \
--url https://{baseUrl}/api/v1/api/tools/install \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "<string>",
"toolId": "<string>"
}
'import requests
url = "https://{baseUrl}/api/v1/api/tools/install"
payload = {
"workspaceId": "<string>",
"toolId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({workspaceId: '<string>', toolId: '<string>'})
};
fetch('https://{baseUrl}/api/v1/api/tools/install', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/tools/install"
payload := strings.NewReader("{\n \"workspaceId\": \"<string>\",\n \"toolId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}