remove

fun remove(id: String): Boolean

Removes an instance from the resource.

Return

Whether the instance is removed successfully.

Parameters

id

The ID of the instance to remove.

Throws

IllegalStateException

If this resource is closed or invalid.