Skip to main content

RoleMetadataBulkUpdateByQueryRequest

Properties

NameTypeDescriptionNotes
Query[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0query the identities to be updated[required]
OperationEnum [ "ADD", "REMOVE", "REPLACE" ]The operation to be performed[required]
ReplaceScopeEnum [ "ALL", "ATTRIBUTE" ]The choice of update scope.[optional]
Values[]RoleMetadataBulkUpdateByQueryRequestValuesInnerThe metadata to be updated, including attribute key and value.[required]

Examples

  • Prepare the resource
$RoleMetadataBulkUpdateByQueryRequest = Initialize-PSSailpoint.V2024RoleMetadataBulkUpdateByQueryRequest  -Query {query"={indices=[roles], queryType=TEXT, textQuery={terms=[test123], fields=[id], matchAny=false, contains=true}, includeNested=false}} `
-Operation REPLACE `
-ReplaceScope ALL `
-Values null
  • Convert the resource to JSON
$RoleMetadataBulkUpdateByQueryRequest | ConvertTo-JSON

[Back to top]