-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command: m365 spo folder sharinglink set
#5964
Labels
Comments
12 tasks
milanholemans
added
new feature
needs peer review
Needs second pair of eyes to review the spec or PR
labels
Apr 5, 2024
we should definitely add this to a remark section in the command docs.
Other than that LGTM 👍. Awesome work 👏 |
Looks good! @MathijsVerbeeck, do you want to work on this one? |
Jwaegebaert
added
help wanted
feature request
and removed
new feature
needs peer review
Needs second pair of eyes to review the spec or PR
labels
Apr 16, 2024
Can I work on it? |
Sure, thanks @Saurabh7019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage
m365 spo folder sharinglink set [options]
Description
Updates a specific sharing link to a folder
Options
-u, --webUrl <webUrl>
--folderUrl [folderUrl]
folderUrl
orfolderId
but not both--folderId [folderId]
folderUrl
orfolderId
but not both-i, --id <id>
--role [role]
--expirationDateTime [expirationDateTime]
Examples
Updates the expiration datetime of an anonymous sharing link with a specific id.
Updates the roles of a sharing link.
Default properties
No response
Additional Info
The API call to set a sharing link can be found on the following documentation: https://learn.microsoft.com/en-us/graph/api/permission-update?view=graph-rest-v1.0&tabs=http
Currently, using the Graph 1.0 API, it is not possible to modify sharing links of type 'Organizational'.
The text was updated successfully, but these errors were encountered: