WorkspaceOperations
Class Workspace operations.
Properties
| Name | Type | Description |
|---|---|---|
send | Send | - |
Members
constructor
(send: Send) => WorkspaceOperations
Parameters
| Name | Type | Description |
|---|---|---|
send | Send | - |
delete
() => Promise
Deletes the workspace. Requires a user session (not an API-key token).
get
() => Promise
Gets the workspace, enriched with its Stripe customer and subscriptions.
rename
(name: string) => Promise
Renames the workspace (owner only).
Parameters
| Name | Type | Description |
|---|---|---|
name | string | - |
transferOwnership
(userId: string) => Promise
Transfers ownership to another member. Requires a user session (not an API-key token).
Parameters
| Name | Type | Description |
|---|---|---|
userId | string | - |
Source: carmen-cloud/index.ts:175