Skip to main content
POST
Block a subject
Provide a subject_id and a reason of at least ten characters. The server records a block decision and active quarantine for the subject/type. Your application must enforce that decision where it grants access; this endpoint does not reconfigure an external firewall.

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Body

application/json
subject_id
string
required
Minimum string length: 1
reason
string
required
Minimum string length: 10
subject_type
string
default:user
risk_score
integer
Required range: 0 <= x <= 100

Response

Current workspace result

decision_id
string<uuid>
subject_id
string
action
enum<string>
Available options:
block
created_at
string<date-time>
quarantined
boolean