requestDigest is optional: when omitted, the connection fetches a digest
from /_api/contextinfo, caches it until shortly before it expires, and
transparently refreshes it (retrying the write once) if SharePoint rejects
it with 403. Pass your own value to bypass the cache.
Type Declaration
OptionalrequestDigest?: string
SharePoint request digest (X-RequestDigest). Omit to let the connection
manage it; supply one from SiteConnection.getFormDigestValue to
take control yourself.
Options for write actions.
requestDigestis optional: when omitted, the connection fetches a digest from/_api/contextinfo, caches it until shortly before it expires, and transparently refreshes it (retrying the write once) if SharePoint rejects it with 403. Pass your own value to bypass the cache.