WorkspaceOperations

Class Workspace operations.

Properties​

NameTypeDescription
sendSend-

Members​

constructor​

(send: Send) => WorkspaceOperations

Parameters​

NameTypeDescription
sendSend-

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​

NameTypeDescription
namestring-

transferOwnership​

(userId: string) => Promise

Transfers ownership to another member. Requires a user session (not an API-key token).

Parameters​

NameTypeDescription
userIdstring-

Source: carmen-cloud/index.ts:175