Skip to main content

Rolemetadatabulkupdatebyidrequest

Properties

NameTypeDescriptionNotes
Roles[]StringRoles' Id to be updated[required]
OperationEnum [ "ADD", "REMOVE", "REPLACE" ]The operation to be performed[required]
ReplaceScopeEnum [ "ALL", "ATTRIBUTE" ]The choice of update scope.[optional]
Values[]RolemetadatabulkupdatebyidrequestValuesInnerThe metadata to be updated, including attribute key and value.[required]

Examples

  • Prepare the resource
$Rolemetadatabulkupdatebyidrequest = Initialize-Rolemetadatabulkupdatebyidrequest  -Roles ["b1db89554cfa431cb8b9921ea38d9367"] `
-Operation REPLACE `
-ReplaceScope ALL `
-Values [{"attribute":"iscFederalClassifications","values":["topSecret"]}]
  • Convert the resource to JSON
$Rolemetadatabulkupdatebyidrequest | ConvertTo-JSON

[Back to top]