Policy User Scope Update API

Update a policy user scope

post

Update a policy user scope, define inclusion/exclusion rule for users using user emails. Only supports Google Drive policies, separates internal or external users based on google domains registered in Nightfall. You can use this endpoint with Nightfall Sensitive Data Protction, Exfiltration Prevention, and Data Security Posture Management.

Authorizations
Path parameters
policyIDstring · uuidRequired

The UUID of the policy to update

Body
Responses
200
Successful response (processed immediately)
application/json
post
POST /policy/v1/{policyID}/scope/users HTTP/1.1
Host: api.nightfall.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 136

{
  "add": {
    "include": [
      "[email protected]"
    ],
    "exclude": [
      "[email protected]"
    ]
  },
  "delete": {
    "include": [
      "[email protected]"
    ],
    "exclude": [
      "[email protected]"
    ]
  }
}
{
  "includedUsers": [
    "text"
  ],
  "excludedUsers": [
    "text"
  ]
}

Last updated

Was this helpful?