Skip to content

createMoveBlobAction()

@blobs/sdk v0.1.0


@blobs/sdk / actions/blob / createMoveBlobAction

createMoveBlobAction(blobId, newParentId, options?): MoveBlobAction

Defined in: actions/blob/MoveBlobAction.ts:242

Convenience factory for MoveBlobAction.

Parameters

blobId

string

Id of the blob to move.

newParentId

string | null

Id of the new parent, or null to move to the root.

options?

Optional titles used in user-facing messages.

blobTitle?

string

newParentTitle?

string

Returns

MoveBlobAction

A configured MoveBlobAction ready to be executed.