Change a license’s workspaces or dates, or end it by setting effectiveTo. The organization and type cannot be changed.
Returns the license id. Lavanda staff only.
| Parameter |
Type |
Required |
Description |
id |
string |
Yes |
The ID of the license to update. Use list_licenses to find it. |
workspaceScope |
WorkspaceScope |
No |
ALL_WORKSPACES covers every workspace in the organization. SELECTED_WORKSPACES covers only the workspaces in workspaceIds. - WorkspaceScope |
workspaceIds |
string[] |
No |
The workspaces to cover, replacing the current list. Used with SELECTED_WORKSPACES. |
effectiveFrom |
string |
No |
The first day the license is in force (YYYY-MM-DD) |
effectiveTo |
string | null |
No |
The last day the license is in force (YYYY-MM-DD). Send null to remove the end date; omit to leave it unchanged. To end a license, set this to its final day. |
| Value |
Description |
ALL_WORKSPACES |
|
SELECTED_WORKSPACES |
|
| Field |
Type |
Description |
content |
ContentItem[] |
Array of content items returned by the tool - ContentItem |
isError |
boolean |
Whether the tool execution resulted in an error |
| Field |
Type |
Description |
type |
'text' |
Content type (currently only ‘text’ is supported) |
text |
string |
The text content to display |