Command Reference > share > rejectReceivedInvitation
Rejects the received invitation identified by name
pv share rejectReceivedInvitation --invitationName=<val> --payloadFile=<val>
--invitationName
(string)
Name of the invitation.
--payloadFile
(string)
File path to a valid JSON document.
None
Share Data Plane > Received Invitations > Reject
POST https://{accountName}.purview.azure.com/share/receivedInvitations/{receivedInvitationName}:reject
Reject a received invitation.
pv share rejectReceivedInvitation --invitationName "955af42b-b08d-4a00-ba58-aaf31afcd53a" --payloadFile "/path/to/file.json"
Sample response.
{
"invitationKind": "User",
"properties": {
"targetActiveDirectoryId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"targetObjectId": "095354ff-cae8-44ff-8120-22ec5a941b40",
"targetEmail": "tarifat@microsoft.com"
}
}