Skip to main content

Accessprofilemetadatabulkupdatebyfilterrequest

Properties

NameTypeDescriptionNotes
FiltersStringFilter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: id: eq, in name: eq, sw created: gt, ge, le modified: gt, lt, ge, le owner.id: eq, in requestable: eq source.id: eq, in Supported composite operators are and, or[required]
OperationEnum [ "ADD", "REMOVE", "REPLACE" ]The operation to be performed[required]
ReplaceScopeEnum [ "ALL", "ATTRIBUTE" ]The choice of update scope. ATTRIBUTE replaces only the values of the attributes named in values, and ALL replaces every metadata attribute on the access profile.[required]
Values[]AccessprofilemetadatabulkupdatebyidrequestValuesInnerThe metadata to be updated, including attribute key and value.[required]

Examples

  • Prepare the resource
$Accessprofilemetadatabulkupdatebyfilterrequest = Initialize-Accessprofilemetadatabulkupdatebyfilterrequest -Filters requestable eq false `
-Operation REPLACE `
-ReplaceScope ATTRIBUTE `
-Values [{"attribute":"iscFederalClassifications","values":["topSecret"]}]
  • Convert the resource to JSON
$Accessprofilemetadatabulkupdatebyfilterrequest | ConvertTo-JSON

[Back to top]