metadataAction resource type

Namespace: microsoft.graph


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the metadata to be written or removed from a file. metadataAction may be returned by the evaluateRemoval, evaluateApplication, and evaluateClassificationResults APIs. The action informs the consuming application of the specific key/value pairs that should be added to the file or the specific metadata keys that should be removed from the file. This metadata is what describes the file or information as being labeled.


Property Type Description
metadataToAdd keyValuePair collection A collection of key value pairs that should be added to the file.
metadataToRemove String collection A collection of strings that indicate which keys to remove from the file metadata.

JSON representation

The following is a JSON representation of the resource.

  "metadataToAdd": [{"@odata.type": "microsoft.graph.keyValuePair"}],
  "metadataToRemove": ["String"]