Software Secure Workload
Activity Configure

Commit scope query changes

This endpoint triggers an asynchronous background job to update all ‘dirty’ children under a given root scope. This job updates scopes and workspaces, see Scopes for more details.

POST /openapi/v1/app_scopes/commit_dirty

Parameters:

Name

Type

Description

root_app_scope_id

string

ID for a root scope for which all children will be updated.

sync

boolean

(optional) Indicate if the request should be synchronous.

Returns 202 to indicate the job has been enqueued. To check if the job has completed, poll the root scope’s ‘dirty’ attribute to see if it has been set to false.

Users may pass the sync parameter to have the job run immediately. The request will return when done with a 200 status code. This request may take some time if many updates need to be applied.