deleteContainer

abstract suspend fun deleteContainer(containerId: String): RainbowResult<Container>

Deletes a room container identified by its unique ID.

This method allows users to remove an existing room container. The containerId parameter specifies the container to be deleted.

The method returns a RainbowResult containing the deleted Container. If the delete operation is successful, the RainbowResult indicates success; otherwise, it indicates failure.

Return

A RainbowResult containing the deleted Container. The RainbowResult indicates whether the operation was successful. In case of invalid parameters or failure to delete the container, a RainbowResult.Failure will be returned with error details.

Parameters

containerId

The unique identifier of the room container to delete.