users
Modifies the labels and the Classification Label values on the specified message. For administrators modifying message for users in their organization, requests require authorization with a service account that has domain-wide delegation authority to impersonate users with the https://www.googleapis.com/auth/gmail.modify.restricted scope.
post/gmail/v1/users/{userId}/messages/{id}/modify
Path parameters
userIdstring required
The user's email address. The special value me can be used to indicate the authenticated user.
idstring required
The ID of the message to modify.
Request body
Response
Successful response