updateLexical
Agent Runtimes / api/spacer/lexicals / updateLexical
Function: updateLexical()
updateLexical(
token,id,data,baseUrl?):Promise<UpdateLexicalResponse>
Defined in: src/api/spacer/lexicals.ts:92
Update a lexical document.
Parameters
token
string
Authentication token
id
string
The document ID
data
Update data containing name and/or description
baseUrl?
string = DEFAULT_SERVICE_URLS.SPACER
Base URL for the API (defaults to production)
Returns
Promise<UpdateLexicalResponse>
Promise resolving to the updated document response