Command Reference > share > updateExpirationAcceptedShare
Update the expiration date of an active accepted sent share.
pv share updateExpirationAcceptedShare --sentShareName=<val> --acceptedSentShareName=<val> --payloadFile=<val>
--sentShareName
(string)
The name of the sent share.
--acceptedSentShareName
(string)
The name of the accepted sent share.
--payloadFile
(string)
File path to a valid JSON document.
None
Share Data Plane > Accepted Sent Shares > Update Expiration
POST https://{accountName}.purview.azure.com/share/sentShares/{sentShareName}/acceptedSentShares/{acceptedSentShareName}:update-expiration
Update the expiration date of an accepted share.
pv share updateExpirationAcceptedShare --sentShareName "MyNewSentShare" --acceptedSentShareName "4f5e1b4b-44f8-42c1-a783-b6c2265e49f5" --payloadFile "/path/to/file.json"
Example payload.
{
"shareKind": "InPlace",
"properties": {
"expirationDate": "2023-02-24T21:02:24.695Z"
}
}