remove

suspend fun remove(id: String): Result<Unit, ErrorResponse>

Removes the resource. Docker asynchronously removes its tasks.