curl --request GET \
--url https://api.your-blindsight.com/api/runtime-security/agent/protection/pauseimport requests
url = "https://api.your-blindsight.com/api/runtime-security/agent/protection/pause"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.your-blindsight.com/api/runtime-security/agent/protection/pause', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.your-blindsight.com/api/runtime-security/agent/protection/pause",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.your-blindsight.com/api/runtime-security/agent/protection/pause"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.your-blindsight.com/api/runtime-security/agent/protection/pause")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.your-blindsight.com/api/runtime-security/agent/protection/pause")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Agent Get Pause
Whether this device is paused, and whether its person may change that.
allowed is what the desktop app uses to decide if the toggle is even
offered. It is a courtesy, not the control: the POST above is what
actually enforces it — but both read the same
:func:pause_authority, because a courtesy that disagrees with the
control is worse than no courtesy at all.
reason / reason_message say WHY it is refused. Without them the app
could only grey the switch out and say nothing, leaving the person to guess
between “your admin has not allowed this”, “nobody has proved this machine
is yours” and “the product is broken”.
reason is the stable code to branch on; reason_message is the
sentence the app shows the person unchanged, so it is written for them and
not for us. The codes are:
device_identity_unverified this machine’s owner is unproved, and the
person can fix it by signing in
identity_binding_unavailable same gate, but the workspace has no SSO,
so only an administrator can fix it
device_unattributed no person on the device to check at all
owner_inactive the account it belongs to is switched off
permission_denied proved owner, permission not granted
null nothing is refused (allowed is true)
curl --request GET \
--url https://api.your-blindsight.com/api/runtime-security/agent/protection/pauseimport requests
url = "https://api.your-blindsight.com/api/runtime-security/agent/protection/pause"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.your-blindsight.com/api/runtime-security/agent/protection/pause', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.your-blindsight.com/api/runtime-security/agent/protection/pause",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.your-blindsight.com/api/runtime-security/agent/protection/pause"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.your-blindsight.com/api/runtime-security/agent/protection/pause")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.your-blindsight.com/api/runtime-security/agent/protection/pause")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Headers
Response
Successful Response

