delete_access_policies

ID: delete_access_policies

This pops up a modal to ask the user if they'd like to delete the specified Access Policies. Upon confirmation, the Access Policies are deleted.

Sample Code

var UI = require("ui");

var actionContext = {};
actionContext.data = [policyId1, policyId2];
UI.startAction(observableHolder, "delete_access_policies", actionContext, function(err) {

    // if something went wrong, err will contain the error
    // otherwise, success

});