Skip to main content

updateSharedUrl

Sets a share link's status and note and returns the updated link; the caller must still have access to the shared resource. Disabling a link makes sharedResource reject its code; use regenerateSharedUrl to replace the code instead. Requires sharing manage access.

updateSharedUrl(
sharedUrl: SharedUrlUpdateParams!
): SharedUrlResult

Arguments​

updateSharedUrl.sharedUrl ● SharedUrlUpdateParams! non-null input​

Share-link id, enabled state, and optional replacement note.

Type​

SharedUrlResult object​

Share-link metadata returned by sharedUrl, sharedUrls, and share-link mutations.