Patch Workspace Risk Configuration
curl --request PATCH \
--url https://api.range.org/v2/risk/config \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"attribution_signals": [
{
"signal": "<string>",
"enabled": true
}
],
"exposure_signals": [
{
"signal": "<string>",
"enabled": true,
"floor_usd": 1
}
],
"behaviours": [
{
"behaviour": "<string>",
"enabled": true,
"ignore": true
}
],
"attribution_removals": [
"<string>"
],
"exposure_removals": [
"<string>"
],
"behaviour_removals": [
"<string>"
]
}
'import requests
url = "https://api.range.org/v2/risk/config"
payload = {
"attribution_signals": [
{
"signal": "<string>",
"enabled": True
}
],
"exposure_signals": [
{
"signal": "<string>",
"enabled": True,
"floor_usd": 1
}
],
"behaviours": [
{
"behaviour": "<string>",
"enabled": True,
"ignore": True
}
],
"attribution_removals": ["<string>"],
"exposure_removals": ["<string>"],
"behaviour_removals": ["<string>"]
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
attribution_signals: [{signal: '<string>', enabled: true}],
exposure_signals: [{signal: '<string>', enabled: true, floor_usd: 1}],
behaviours: [{behaviour: '<string>', enabled: true, ignore: true}],
attribution_removals: ['<string>'],
exposure_removals: ['<string>'],
behaviour_removals: ['<string>']
})
};
fetch('https://api.range.org/v2/risk/config', 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.range.org/v2/risk/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'attribution_signals' => [
[
'signal' => '<string>',
'enabled' => true
]
],
'exposure_signals' => [
[
'signal' => '<string>',
'enabled' => true,
'floor_usd' => 1
]
],
'behaviours' => [
[
'behaviour' => '<string>',
'enabled' => true,
'ignore' => true
]
],
'attribution_removals' => [
'<string>'
],
'exposure_removals' => [
'<string>'
],
'behaviour_removals' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.range.org/v2/risk/config"
payload := strings.NewReader("{\n \"attribution_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true\n }\n ],\n \"exposure_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true,\n \"floor_usd\": 1\n }\n ],\n \"behaviours\": [\n {\n \"behaviour\": \"<string>\",\n \"enabled\": true,\n \"ignore\": true\n }\n ],\n \"attribution_removals\": [\n \"<string>\"\n ],\n \"exposure_removals\": [\n \"<string>\"\n ],\n \"behaviour_removals\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
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))
}HttpResponse<String> response = Unirest.patch("https://api.range.org/v2/risk/config")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"attribution_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true\n }\n ],\n \"exposure_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true,\n \"floor_usd\": 1\n }\n ],\n \"behaviours\": [\n {\n \"behaviour\": \"<string>\",\n \"enabled\": true,\n \"ignore\": true\n }\n ],\n \"attribution_removals\": [\n \"<string>\"\n ],\n \"exposure_removals\": [\n \"<string>\"\n ],\n \"behaviour_removals\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/risk/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"attribution_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true\n }\n ],\n \"exposure_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true,\n \"floor_usd\": 1\n }\n ],\n \"behaviours\": [\n {\n \"behaviour\": \"<string>\",\n \"enabled\": true,\n \"ignore\": true\n }\n ],\n \"attribution_removals\": [\n \"<string>\"\n ],\n \"exposure_removals\": [\n \"<string>\"\n ],\n \"behaviour_removals\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"workspace_id": "ws-12345",
"attribution_signals": [
{
"signal": "sanctions_ofac",
"enabled": true,
"severity": "severe"
}
],
"exposure_signals": [
{
"signal": "obfuscation",
"enabled": true,
"thresholds": {
"low": 0.01,
"medium": 0.05,
"high": 0.2,
"severe": 0.5
},
"floor_usd": 1000
}
],
"behaviours": [
{
"behaviour": "smurfing",
"enabled": true,
"thresholds": {
"low": 0.01,
"medium": 0.05,
"high": 0.2,
"severe": 0.5
},
"ignore": false
}
],
"updated_at": "2026-05-18T10:00:00Z"
}Risk v2 Endpoints
Update Risk Configuration
Partially update the workspace risk configuration. Only include fields to change.
PATCH
/
v2
/
risk
/
config
Patch Workspace Risk Configuration
curl --request PATCH \
--url https://api.range.org/v2/risk/config \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"attribution_signals": [
{
"signal": "<string>",
"enabled": true
}
],
"exposure_signals": [
{
"signal": "<string>",
"enabled": true,
"floor_usd": 1
}
],
"behaviours": [
{
"behaviour": "<string>",
"enabled": true,
"ignore": true
}
],
"attribution_removals": [
"<string>"
],
"exposure_removals": [
"<string>"
],
"behaviour_removals": [
"<string>"
]
}
'import requests
url = "https://api.range.org/v2/risk/config"
payload = {
"attribution_signals": [
{
"signal": "<string>",
"enabled": True
}
],
"exposure_signals": [
{
"signal": "<string>",
"enabled": True,
"floor_usd": 1
}
],
"behaviours": [
{
"behaviour": "<string>",
"enabled": True,
"ignore": True
}
],
"attribution_removals": ["<string>"],
"exposure_removals": ["<string>"],
"behaviour_removals": ["<string>"]
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
attribution_signals: [{signal: '<string>', enabled: true}],
exposure_signals: [{signal: '<string>', enabled: true, floor_usd: 1}],
behaviours: [{behaviour: '<string>', enabled: true, ignore: true}],
attribution_removals: ['<string>'],
exposure_removals: ['<string>'],
behaviour_removals: ['<string>']
})
};
fetch('https://api.range.org/v2/risk/config', 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.range.org/v2/risk/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'attribution_signals' => [
[
'signal' => '<string>',
'enabled' => true
]
],
'exposure_signals' => [
[
'signal' => '<string>',
'enabled' => true,
'floor_usd' => 1
]
],
'behaviours' => [
[
'behaviour' => '<string>',
'enabled' => true,
'ignore' => true
]
],
'attribution_removals' => [
'<string>'
],
'exposure_removals' => [
'<string>'
],
'behaviour_removals' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.range.org/v2/risk/config"
payload := strings.NewReader("{\n \"attribution_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true\n }\n ],\n \"exposure_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true,\n \"floor_usd\": 1\n }\n ],\n \"behaviours\": [\n {\n \"behaviour\": \"<string>\",\n \"enabled\": true,\n \"ignore\": true\n }\n ],\n \"attribution_removals\": [\n \"<string>\"\n ],\n \"exposure_removals\": [\n \"<string>\"\n ],\n \"behaviour_removals\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
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))
}HttpResponse<String> response = Unirest.patch("https://api.range.org/v2/risk/config")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"attribution_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true\n }\n ],\n \"exposure_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true,\n \"floor_usd\": 1\n }\n ],\n \"behaviours\": [\n {\n \"behaviour\": \"<string>\",\n \"enabled\": true,\n \"ignore\": true\n }\n ],\n \"attribution_removals\": [\n \"<string>\"\n ],\n \"exposure_removals\": [\n \"<string>\"\n ],\n \"behaviour_removals\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/risk/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"attribution_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true\n }\n ],\n \"exposure_signals\": [\n {\n \"signal\": \"<string>\",\n \"enabled\": true,\n \"floor_usd\": 1\n }\n ],\n \"behaviours\": [\n {\n \"behaviour\": \"<string>\",\n \"enabled\": true,\n \"ignore\": true\n }\n ],\n \"attribution_removals\": [\n \"<string>\"\n ],\n \"exposure_removals\": [\n \"<string>\"\n ],\n \"behaviour_removals\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"workspace_id": "ws-12345",
"attribution_signals": [
{
"signal": "sanctions_ofac",
"enabled": true,
"severity": "severe"
}
],
"exposure_signals": [
{
"signal": "obfuscation",
"enabled": true,
"thresholds": {
"low": 0.01,
"medium": 0.05,
"high": 0.2,
"severe": 0.5
},
"floor_usd": 1000
}
],
"behaviours": [
{
"behaviour": "smurfing",
"enabled": true,
"thresholds": {
"low": 0.01,
"medium": 0.05,
"high": 0.2,
"severe": 0.5
},
"ignore": false
}
],
"updated_at": "2026-05-18T10:00:00Z"
}Authorizations
Authorization method required to allow user to access the api endpoints.
Body
application/json
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Signal ids to remove from attribution_signals.
Exposure signal ids to remove.
Behaviour ids to remove.
Last modified on July 22, 2026
Was this page helpful?
⌘I