Policy Update APIs

Update a policy user scope

post

Update a policy user scope, define inclusion/exclusion rule for users using user emails. Only supports gDrive policies, separates internal or external users based on google domains registered in Nightfall.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
policyIDstring · uuidRequired

The UUID of the policy to update

Body
Responses
chevron-right
200

Successful response (processed immediately)

application/json
post
/{policyID}/scope/users

Update a policy domain scope

post

Update a policy domain scope, define inclusion/exclusion rule for domains. Only supports gDrive policies.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
policyIDstring · uuidRequired

The UUID of the policy to update

Body
Responses
chevron-right
200

Successful response (processed immediately)

application/json
post
/{policyID}/scope/domains

Update a posture policy trigger user scope

post

Update trigger-scoped users for a posture management policy. Modifies users stored in implementation_metadata (trigger scope) rather than the standard user_and_group_in_ex_setting. Only supports posture management policies of gDrive.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
policyIDstring · uuidRequired

The UUID of the policy to update

Body
Responses
chevron-right
200

Successful response (processed immediately)

application/json
post
/{policyID}/trigger/users

Update a posture policy trigger domain scope

post

Update trigger-scoped domains for a posture management policy. Modifies domains stored in implementation_metadata (trigger scope) rather than the standard user_and_group_in_ex_setting. Only supports posture management policies of gDrive.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
policyIDstring · uuidRequired

The UUID of the policy to update

Body
Responses
chevron-right
200

Successful response (processed immediately)

application/json
post
/{policyID}/trigger/domains

Last updated

Was this helpful?