Redigera

Dela via


driveRecipient resource type

Namespace: microsoft.graph

Important

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 a person, group, or other recipient to share a drive item with using the invite action.

When using invite to add permissions, the driveRecipient object can specify the email, alias, or objectId of the recipient. Only one of these values is required; multiple values are not accepted.

Properties

The recipients resource has these properties.

Property Type Description
email String The email address for the recipient, if the recipient has an associated email address.
alias String The alias of the domain object, for cases where an email address is unavailable (e.g. security groups).
objectId String The unique identifier for the recipient in the directory.

JSON representation

{
  "email": "string",
  "alias": "string",
  "objectId": "string",
}