Update User Security Settings
PATCH/v1/user/security
Update User Security Settings
curl https://api.nirvanalabs.io/v1/user/security \
-X PATCH \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $NIRVANA_LABS_API_KEY" \
-d '{}'{
"source_ip_rule": {
"allowed": [
"192.168.1.0/24",
"10.0.0.0/8"
],
"blocked": [
"192.168.1.100/32"
]
},
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}Returns Examples
{
"source_ip_rule": {
"allowed": [
"192.168.1.0/24",
"10.0.0.0/8"
],
"blocked": [
"192.168.1.100/32"
]
},
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}