public static base_responses disable ( nitro_service client , String aclname [ ] ) throws Exception { base_responses result = null ; if ( aclname != null && aclname . length > 0 ) { nsacl disableresources [ ] = new nsacl [ aclname . length ] ; for ( int i = 0 ; i < aclname . length ; i ++ ) { disableresources [ i ] = new nsacl ( ) ; disableresources [ i ] . aclname = aclname [ i ] ; } result = perform_operation_bulk_request ( client , disableresources , "disable" ) ; } return result ; }
Use this API to disable nsacl resources of given names .